diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 8 | ||||
-rw-r--r-- | layouts/partials/slideout.html | 8 |
2 files changed, 14 insertions, 2 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"> 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> |