aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-03 09:37:04 +0100
committerDennis Eriksen <d@ennis.no>2019-11-03 09:37:04 +0100
commit37fcfa993c254399e16f16e5a0d2cdbf70be0528 (patch)
treeb3583aca1b8534ec37e57298473720b2ab5ee175 /layouts
parentinclude rss-link in head (diff)
downloadriker-37fcfa993c254399e16f16e5a0d2cdbf70be0528.tar.gz
logo is not part of theme
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/head.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 93b18d8..4f74872 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,7 +1,7 @@
{{ partial "head" . }}
<header>
- <a href="/"><img id="logo" src="/img/giraffe.svg" /></a>
+ <a href="/"><img id="logo" src="{{ .Site.Params.logo }}" /></a>
<h1>{{ .Title }}</h1>
</header>
<main>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a2149d0..6f1549e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -20,6 +20,6 @@
<body>
{{ if not .IsHome }}
<header>
- <a href="/"><img id="logofloat" src="/img/giraffe.svg" /></a>
+ <a href="/"><img id="logofloat" src="{{ .Site.Params.logo }}" /></a>
</header>
{{ end }}