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 }}
|
{{- 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 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue