2023-11-08 01:51:27
This commit is contained in:
parent
7562b03725
commit
019cee3744
|
@ -12,8 +12,8 @@ Notes in article.
|
|||
{{< /alert >}}
|
||||
*/ -}}
|
||||
|
||||
{{ $type := ((.Get 0) | default "default") }}
|
||||
{{ $types := (slice "default" "important" "info" "tip" "warning") }}
|
||||
{{ $type := (.Get 0) }}
|
||||
{{ $types := (slice "important" "info" "tip" "warning") }}
|
||||
|
||||
{{ with ($type) }}
|
||||
{{ if (not (in ($types) .)) }}
|
||||
|
|
Loading…
Reference in a new issue