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

github.com/monkeyWzr/hugo-theme-cactus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2021-04-29 22:28:24 +0300
committerJesse Hathaway <jesse@mbuki-mvuki.org>2021-05-10 16:46:48 +0300
commit9d2cf4121b11e38774c55f2cd4ff15be09afcdd7 (patch)
tree68bfb40267a19b3f87ffde63824f7b92f78b861e /layouts
parentcec90bd446a58b439de23b3f292f766599f4b75e (diff)
Allow setting the main section title
Prior to this change the main section is always called "Writings". After this change you can configure that value to for example match the title you set in the main menu.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index d42fa8f..dc7e0ec 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -37,7 +37,7 @@
</section>
<section id="writing">
- <span class="h1"><a href="{{ .Site.Params.mainSection | absURL }}">Writings</a></span>
+ <span class="h1"><a href="{{ .Site.Params.mainSection | absURL }}">{{ .Site.Params.mainSectionTitle | default "Writings" }}</a></span>
{{ if (and (and (isset .Site.Params "tagsoverview") (eq .Site.Params.tagsOverview true)) (gt (len .Site.Taxonomies.tags) 0)) }}
<span class="h2">Topics</span>
<span class="widget tagcloud">