Allow markdown in a list's subtitle field.

This commit is contained in:
2025-11-16 20:58:14 -07:00
parent 5159751b44
commit a8a69ea376

View File

@@ -4,7 +4,7 @@
<main class="posts"> <main class="posts">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ if .Params.subtitle }} {{ if .Params.subtitle }}
<strong>{{ .Params.subtitle }}</strong> <strong>{{ .Params.subtitle | markdownify }}</strong>
{{ end }} {{ end }}
{{ if .Content }} {{ if .Content }}