Feat: add HTML&MD render for single subtitle

This commit is contained in:
Cell
2024-10-04 01:40:54 +08:00
parent b66fd37057
commit 95436c11ac
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
</h1>
{{- /* Subtitle */ -}}
{{- with $params.subtitle -}}<p class="single-subtitle animate__animated animate__fadeIn">{{ . }}</p>{{- end -}}
{{- with $params.subtitle -}}<p class="single-subtitle animate__animated animate__fadeIn">{{ . | $.RenderString }}</p>{{- end -}}
</div>
{{- /* Meta */ -}}