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/slideout.html | |
parent | 2b282fc57ccab11ad41c857450f4e87e42e47f38 (diff) |
feat: config logo title
Diffstat (limited to 'layouts/partials/slideout.html')
-rw-r--r-- | layouts/partials/slideout.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/slideout.html b/layouts/partials/slideout.html index 21de3cb..e8cebd3 100644 --- a/layouts/partials/slideout.html +++ b/layouts/partials/slideout.html @@ -1,6 +1,12 @@ <div id="mobile-navbar" class="mobile-navbar"> <div class="mobile-header-logo"> - <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> <div class="mobile-navbar-icon"> <span></span> |