embed shortcode: define in markdown instead of html

This commit is contained in:
Helmut Merz 2023-11-15 09:23:21 +01:00
parent c32201ab65
commit 261f15f7f5
2 changed files with 2 additions and 2 deletions

View file

@ -23,10 +23,10 @@
{{- end }} {{- end }}
</div> </div>
{{- if eq $showChildren "cards" -}} {{- if hasPrefix $showChildren "card" -}}
<div class="row"> <div class="row">
{{ range sort (sort $children "Date" "desc") "Weight" }} {{ range sort (sort $children "Date" "desc") "Weight" }}
{{ partial "card.html" . }} {{ partial "card" . }}
{{ end }} {{ end }}
</div> </div>
{{- end }} {{- end }}