diff options
author | amzrk2 | 2020-05-06 20:30:07 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-06 20:30:07 +0800 |
commit | 41ef0bdcde0534402d430185052f4c553144487c (patch) | |
tree | 6e2142599e315395afbd71d09585d06c902683eb /layouts/partials/header.html | |
parent | 11639966566927a4616748c71c7c708a63d9d2b1 (diff) | |
download | hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.tar.gz hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.tar.bz2 hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.zip |
General template fix
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ca01fa6..e4fcaae 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,9 +1,8 @@ <header> - <!-- fake navbar header--> <div class="container-lg clearfix"> <div class="col-12 p-3"> <a id="main-title" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> - <span id="sub-title">{{ .Site.Params.subTitle }}</span> + {{ with .Site.Params.subTitle }}<span id="sub-title">{{ . }}</span>{{ end }} </div> </div> </header>
\ No newline at end of file |