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:
authorSean Lane <5761232+seanlane@users.noreply.github.com>2021-01-03 19:03:13 +0300
committerGitHub <noreply@github.com>2021-01-03 19:03:13 +0300
commit6ef2e715fbf4225dd74e9507f7eaceb85a33f11a (patch)
treeb7baf2aa1f5acf622d7736a7912e6c2bdb16923d
parent88c50c14451bb12a4f640a2144af3c4100605f93 (diff)
parent5af7e465911db0647edd94a5549a3d69409b0f2f (diff)
Merge pull request #14 from Tiliavir/patch-3
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}}