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

@@ -5,6 +5,9 @@
<article class="page single">
{{- /* Title */ -}}
<h1 class="single-title animated flipInX">{{ .Title }}</h1>
{{- with .Params.subtitle -}}
<h2 class="single-subtitle">{{ . }}</h2>
{{- end -}}
{{- /* Meta */ -}}
<div class="post-meta">