fix(head): default description not applied correctly

This commit is contained in:
Jimmy Cai 2020-09-11 23:04:26 +02:00
parent 67e8e6b854
commit a31f0aae91
No known key found for this signature in database
GPG Key ID: 3EA408E527F37B18

View File

@ -1,5 +1,5 @@
<!-- Use site subtitle by default --> <!-- Use site subtitle by default -->
{{ $description := .Site.Params.subtitle }} {{ $description := .Site.Params.sidebar.subtitle }}
{{ if .Description }} {{ if .Description }}
<!-- Page description exists --> <!-- Page description exists -->