Add card
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-06-08 11:54:11 +02:00
commit 922bd31807
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="panel panel-{{.Get "color" | default "default"}}" style="margin-top: .7em; margin-bottom: .7em">
<div class="panel-heading">
<h3 class="panel-title">
{{$expandMessage := T "Expand-title"}}
{{ if .IsNamedParams }}
{{.Get "title" | default $expandMessage}}
{{else}}
{{.Get 1 | default $expandMessage}}
{{end}}
</h3>
</div>
<div class="panel-body">
{{.Inner | safeHTML}}
</div>
</div>