summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-06-12 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-06-12 00:00:00 +0000
commit07f4be1faebd5f41c19852dcd5df168a1ea9fe03a21777bad79ca8ff30f7cb76 (patch)
treefba0ad30da18ba08bb9e434f83c83755c9ed16c0dd73da3bb9af6230828ccd88 /config
parent401d48d2625c1faf8c7fc1e79a3d12acda56e1147f795c369fc424906fc0a494 (diff)
downloadjournal-07f4be1faebd5f41c19852dcd5df168a1ea9fe03a21777bad79ca8ff30f7cb76.tar.gz
journal-07f4be1faebd5f41c19852dcd5df168a1ea9fe03a21777bad79ca8ff30f7cb76.zip
Add "tags" nav link to web and merge configs
Diffstat (limited to 'config')
-rw-r--r--config/_default/config.toml17
-rw-r--r--config/gemini/config.toml18
-rw-r--r--config/web/config.toml14
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"]