diff options
| author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-09-16 17:49:53 +0800 | 
|---|---|---|
| committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-09-16 17:49:53 +0800 | 
| commit | fba1d6b9c5bc72745368f63c67c027dd0070cb6b (patch) | |
| tree | 621c698665bf72c0a841fb8f87f320a49c702d85 /layouts/partials/header.html | |
| parent | 2b282fc57ccab11ad41c857450f4e87e42e47f38 (diff) | |
feat: config logo title
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d81055e..57cf431 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,11 @@  <div class="logo-wrapper"> -  <a href="{{ "/" | relURL }}" class="logo">{{ .Site.Title }}</a> +  <a href="{{ "/" | relURL }}" class="logo"> +    {{- if .Site.Params.logoTitle -}} +      {{ .Site.Params.logoTitle }} +    {{- else -}} +      {{ .Site.Title }} +    {{- end -}} +  </a>  </div>  <nav class="site-navbar"> | 
