From e04c22dbb133e76da41874a8ff93fe7a87e46746bde735b014ef223e68af51c7 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: Transition to new config file naming convention --- config/_default/config.toml | 34 ---------------------------------- config/_default/hugo.toml | 34 ++++++++++++++++++++++++++++++++++ config/gemini/config.toml | 8 -------- config/gemini/hugo.toml | 8 ++++++++ config/web/config.toml | 9 --------- config/web/hugo.toml | 9 +++++++++ 6 files changed, 51 insertions(+), 51 deletions(-) delete mode 100644 config/_default/config.toml create mode 100644 config/_default/hugo.toml delete mode 100644 config/gemini/config.toml create mode 100644 config/gemini/hugo.toml delete mode 100644 config/web/config.toml create mode 100644 config/web/hugo.toml diff --git a/config/_default/config.toml b/config/_default/config.toml deleted file mode 100644 index bdf46e4..0000000 --- a/config/_default/config.toml +++ /dev/null @@ -1,34 +0,0 @@ -theme = "journal" -baseURL = "https://nicholasjohnson.ch" -title = "Nicholas Johnson" -copyright = "Copyright © 2020-{currentYear} Nicholas Johnson. CC BY-SA 4.0." -languageCode = "en-us" -disablePathToLower = true -rssLimit = 20 -enableEmoji = true -cleanDestinationDir = true -ignoreFiles = ['templates/logo\.txt$'] -disableHugoGeneratorInject = true - -[permalinks] - entry = "/:year/:month/:day/:filename" - -[markup] - _merge = "deep" - -[taxonomies] - tag = "tags" - -[menu] - [[menu.main]] - name = "About Page" - url = "/about/" - weight = 1 - [[menu.main]] - name = "Tags" - url = "/tags/" - weight = 2 - [[menu.main]] - name = "Atom Feed" - url = "/atom.xml" - weight = 3 diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml new file mode 100644 index 0000000..bdf46e4 --- /dev/null +++ b/config/_default/hugo.toml @@ -0,0 +1,34 @@ +theme = "journal" +baseURL = "https://nicholasjohnson.ch" +title = "Nicholas Johnson" +copyright = "Copyright © 2020-{currentYear} Nicholas Johnson. CC BY-SA 4.0." +languageCode = "en-us" +disablePathToLower = true +rssLimit = 20 +enableEmoji = true +cleanDestinationDir = true +ignoreFiles = ['templates/logo\.txt$'] +disableHugoGeneratorInject = true + +[permalinks] + entry = "/:year/:month/:day/:filename" + +[markup] + _merge = "deep" + +[taxonomies] + tag = "tags" + +[menu] + [[menu.main]] + name = "About Page" + url = "/about/" + weight = 1 + [[menu.main]] + name = "Tags" + url = "/tags/" + weight = 2 + [[menu.main]] + name = "Atom Feed" + url = "/atom.xml" + weight = 3 diff --git a/config/gemini/config.toml b/config/gemini/config.toml deleted file mode 100644 index 5c0ee8e..0000000 --- a/config/gemini/config.toml +++ /dev/null @@ -1,8 +0,0 @@ -disableKinds = ['RSS', 'section', 'sitemap', '404'] -publishDir = "public/capsule" - -[outputs] - home = ["Gemini", "Gemini_Atom"] - page = ["Gemini"] - taxonomy = ["Gemini", "Gemini_Atom"] - term = ["Gemini", "Gemini_Atom"] diff --git a/config/gemini/hugo.toml b/config/gemini/hugo.toml new file mode 100644 index 0000000..5c0ee8e --- /dev/null +++ b/config/gemini/hugo.toml @@ -0,0 +1,8 @@ +disableKinds = ['RSS', 'section', 'sitemap', '404'] +publishDir = "public/capsule" + +[outputs] + home = ["Gemini", "Gemini_Atom"] + page = ["Gemini"] + taxonomy = ["Gemini", "Gemini_Atom"] + term = ["Gemini", "Gemini_Atom"] diff --git a/config/web/config.toml b/config/web/config.toml deleted file mode 100644 index 872f18c..0000000 --- a/config/web/config.toml +++ /dev/null @@ -1,9 +0,0 @@ -disableKinds = ['RSS', 'section'] -publishDir = "public/website" -enableRobotsTXT = true - -[outputs] - home = ["HTML", "Atom"] - page = ["HTML"] - taxonomy = ["HTML", "Atom"] - term = ["HTML", "Atom"] diff --git a/config/web/hugo.toml b/config/web/hugo.toml new file mode 100644 index 0000000..872f18c --- /dev/null +++ b/config/web/hugo.toml @@ -0,0 +1,9 @@ +disableKinds = ['RSS', 'section'] +publishDir = "public/website" +enableRobotsTXT = true + +[outputs] + home = ["HTML", "Atom"] + page = ["HTML"] + taxonomy = ["HTML", "Atom"] + term = ["HTML", "Atom"] -- cgit v1.2.3