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

github.com/seanlane/gochowdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lindenmann <Tiliavir@users.noreply.github.com>2021-01-03 12:22:02 +0300
committerGitHub <noreply@github.com>2021-01-03 12:22:02 +0300
commit5af7e465911db0647edd94a5549a3d69409b0f2f (patch)
treeb1e99d711c12a181e814d757fdbe139cce0a696f
parent54b825ad0fd57160ac62fb70b77cb6e8959ebcca (diff)
Add a link to site root to the top navigation
-rw-r--r--layouts/partials/header.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 9b11f39..f39862a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,9 @@
<nav class="navigation pure-g">
{{ if .Site.Params.showNavTitle }}
<section class="pure-u-1 pure-u-md-1-2 nav-left">
- <h1 class="nav-title title-shadow white">{{ .Site.Title }}</h1>
+ <a href="{{.Site.BaseURL}}">
+ <h1 class="nav-title title-shadow white">{{ .Site.Title }}</h1>
+ </a>
</section>
<section class="pure-u-1 pure-u-md-1-2 nav-right">
{{ with .Site.Menus.main}}