From 07f4be1faebd5f41c19852dcd5df168a1ea9fe03a21777bad79ca8ff30f7cb76 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 12 Jun 2024 00:00:00 +0000 Subject: Add "tags" nav link to web and merge configs --- config/_default/config.toml | 17 +++++++++++++++++ config/gemini/config.toml | 18 ------------------ config/web/config.toml | 14 -------------- 3 files changed, 17 insertions(+), 32 deletions(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 444e953..4c64252 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -21,3 +21,20 @@ ignoreFiles = ['templates/logo\.txt$'] [taxonomies] tag = "tags" +[menu] + [[menu.main]] + name = "About Page" + url = "/about/" + weight = 1 + [[menu.main]] + name = "Promoted Links" + url = "/promoted/" + weight = 2 + [[menu.main]] + name = "Tags" + url = "/tags/" + weight = 3 + [[menu.main]] + name = "Atom Feed" + url = "/atom.xml" + weight = 4 diff --git a/config/gemini/config.toml b/config/gemini/config.toml index 9ebeb43..5c0ee8e 100644 --- a/config/gemini/config.toml +++ b/config/gemini/config.toml @@ -1,24 +1,6 @@ disableKinds = ['RSS', 'section', 'sitemap', '404'] publishDir = "public/capsule" -[menu] - [[menu.main]] - name = "About Page" - url = "/about/" - weight = 1 - [[menu.main]] - name = "Promoted Links" - url = "/promoted/" - weight = 2 - [[menu.main]] - name = "Tags" - url = "/tags/" - weight = 3 - [[menu.main]] - name = "Atom Feed" - url = "/atom.xml" - weight = 4 - [outputs] home = ["Gemini", "Gemini_Atom"] page = ["Gemini"] diff --git a/config/web/config.toml b/config/web/config.toml index 1bb872b..872f18c 100644 --- a/config/web/config.toml +++ b/config/web/config.toml @@ -2,20 +2,6 @@ disableKinds = ['RSS', 'section'] publishDir = "public/website" enableRobotsTXT = true -[menu] - [[menu.main]] - name = "About Page" - url = "/about/" - weight = 1 - [[menu.main]] - name = "Promoted Links" - url = "/promoted/" - weight = 2 - [[menu.main]] - name = "Atom Feed" - url = "/atom.xml" - weight = 3 - [outputs] home = ["HTML", "Atom"] page = ["HTML"] -- cgit v1.2.3