embed shortcode: define in markdown instead of html
This commit is contained in:
parent
c32201ab65
commit
261f15f7f5
2 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@
|
|||
{{- end }}
|
||||
</div>
|
||||
|
||||
{{- if eq $showChildren "cards" -}}
|
||||
{{- if hasPrefix $showChildren "card" -}}
|
||||
<div class="row">
|
||||
{{ range sort (sort $children "Date" "desc") "Weight" }}
|
||||
{{ partial "card.html" . }}
|
||||
{{ partial "card" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue