diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-16 11:14:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 11:14:37 +0300 |
commit | 9a7189c2a3f52792dfa5bbd96aaa7c8626ed457c (patch) | |
tree | 84745a3525b2e068b4c3ea1db91aa48052797eef /layouts/_default/single.html | |
parent | ee1c5c22bc765660aad504c63c949239c454302e (diff) |
feat(subtitle): add subtitle for posts (#171)
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5bdc32e..8687942 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -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"> |