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

github.com/edavidaja/docter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/header.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index b56a4ad..9f06b25 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -14,4 +14,3 @@ theme = "docter"
logoalt=""
hosted_on="netlify"
hosted_on_url="https://www.netlify.com"
- \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 7c9b80d..f10a19b 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,7 @@
<header role="banner">
<div class="wrap">
{{ if isset .Site.Params "logourl" }}
- <img class="logo" src="{{ .Site.Params.logourl }}" alt="{{ .Site.Params.logoalt }}">
+ <img class="logo" src="{{.Site.BaseURL}}{{ .Site.Params.logourl }}" alt="{{ .Site.Params.logoalt }}">
{{ end }}
<h1 class="site-title"><a class="title-link" href="{{ .Site.BaseURL }}">{{ .Site.Params.name }}</a></h1>
</div>