section und columns shortcodes implementiert

This commit is contained in:
Andreas Hnida 2024-02-19 11:50:55 +00:00
commit 75f3cc4b06
11 changed files with 121 additions and 105 deletions

View file

@ -0,0 +1,14 @@
<div class="iconheadersubheadertext">
{{ with .icon }}
<i class="fas fa-{{ . }} fa-fw text-5xl text-primary py-10"></i>
{{ end }}
{{ with .subline }}
<h3 class="text-primary pb-5">{{ . }}</h3>
{{ end }}
{{ if .headline }}
<h2 class="font-bold pb-5 {{ if eq .smallheadline true }} text-2xl {{ end }} ">{{ .headline }}</h2>
{{ end }}
{{ with .content | markdownify }}
<p class="text-base text-gray-700">{{ . }}</p>
{{ end }}
</div>