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

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Kruse <devel@sumpfralle.de>2020-09-13 19:22:54 +0300
committerLars Kruse <devel@sumpfralle.de>2020-09-13 21:33:14 +0300
commit9bf32e1c746404014bd23cd6521a2a5a2133216e (patch)
tree13d34ab3ab8ebb818c66da4618a8573ef8b35615 /layouts
parent94982f7998875e98de9d00482a35dcbe6a5df5eb (diff)
Add support for optional site logo
The logo will be prepended to the site title in the navigation bar.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 79224ad..1aa7077 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -2,6 +2,9 @@
<div class="container">
<div>
<a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}">
+ {{ with .Site.Params.site_logo }}
+ <img src="{{ . }}" height="3rem" />
+ {{ end }}
{{ .Site.Title }}
</a>
</div>