Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Webb <dan.webb@damacus.io>2019-04-11 23:48:17 +0300
committerDan Webb <dan.webb@damacus.io>2019-04-12 00:06:58 +0300
commit9c1b9ddf87f94ff4d96fd01339c0a89c6687fe6c (patch)
treec30d2b8d8eac224c0f4e5ed9113f6f537d7a3e7d /layouts
parentfa24be58a7fb827e6a7bbf44b9d4d3a8c1ab20ae (diff)
Make logo configurable
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 160c766..d787090 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,12 +1,12 @@
<div class='header'>
<div class="container">
<div class="logo">
- <a href="{{ .Site.BaseURL }}"><img alt="Logo" src="{{ "images/logo.svg" | absURL }}" /></a>
+ <a href="{{ .Site.BaseURL }}"><img alt="Logo" src="{{ .Site.Params.logo.standard }}" /></a>
</div>
<div class="logo-mobile">
- <a href="{{ .Site.BaseURL }}"><img alt="Logo" src="{{ "images/logo-mobile.svg" | absURL }}" /></a>
+ <a href="{{ .Site.BaseURL }}"><img alt="Logo" src="{{ .Site.Params.logo.mobile }}" /></a>
</div>
{{ partial "main-menu.html" . }}
{{ partial "hamburger.html" . }}
</div>
-</div> \ No newline at end of file
+</div>