feat(subtitle): add subtitle for posts (#171)

This commit is contained in:
Dillon
2020-03-16 16:14:37 +08:00
committed by GitHub
parent ee1c5c22bc
commit 9a7189c2a3
21 changed files with 50 additions and 20 deletions

View File

@@ -6,6 +6,9 @@
<h1 class="single-title animated pulse faster">
{{- .Title -}}
</h1>
{{- with .Params.subtitle -}}
<h2 class="single-subtitle">{{ . }}</h2>
{{- end -}}
{{- /* Content */ -}}
<div class="content" id="content">