publiccode.si/site/layouts/shortcodes/fsdefinition.html

8 lines
236 B
HTML
Raw Normal View History

{{ if eq (.Get "type") "box" }}
<div class="definition"><p>{{ .Site.Params.fsdefinition }}</p></div>
{{ else if eq (.Get "type") "paragraph" }}
<p>{{ .Site.Params.fsdefinition }}</p>
{{ else }}
{{ .Site.Params.fsdefinition }}
{{ end }}