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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim B <salim@posteo.de>2019-05-10 16:52:39 +0300
committerGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2019-05-10 16:52:39 +0300
commit1291f437fd8d347c4457c37af26fb2876aa6f545 (patch)
tree82611fb213fd83a5db0392c9229f1f85735f1856 /exampleSite
parent2765194e3b464a4912fd13dd02b736e45542cbb2 (diff)
improve navigation highlighting: (#211)1.0.0
* improve navigation highlighting: - highlight blog section when on taxonomy sites (`/tags/` and `/categories/`) - highlight home, too * nav highlighting: fall back to `url` if `identifier` key is not set for menu
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 3a9f8fd..6e94f29 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -18,22 +18,25 @@ paginate = 10
# Main menu
[[menu.main]]
+ identifier="home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
+ identifier="blog"
name = "Blog"
url = "/blog/"
weight = 2
[[menu.main]]
- name = "FAQ"
identifier = "faq"
+ name = "FAQ"
url = "/faq/"
weight = 3
[[menu.main]]
+ identifier = "contact"
name = "Contact"
url = "/contact/"
weight = 4