From 725fda2596ede62ad0406684a69221e8ccb49c75 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 3 Jul 2024 21:08:19 +0000 Subject: [PATCH] Use yaml instead of toml. Thank the gods this is finally an option. --- hugo.toml | 72 ------------------------------------------------------- hugo.yaml | 55 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 72 deletions(-) delete mode 100644 hugo.toml create mode 100644 hugo.yaml diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index a561bce..0000000 --- a/hugo.toml +++ /dev/null @@ -1,72 +0,0 @@ -baseurl = "https://annabunches.net/" -languageCode = "en-us" -Title = "Anna and the Bunches" -copyright = "© Anna Wiggins, 2006-2024" - -# Google Analytics API key. -googleAnalytics = "G-QFK0K7MGCJ" - -[params] - paginate = 10 - custom_css = ["/css/custom.css", "/css/spoiler.css"] - dateFormat = "2006-01-02" - hideWordCount = true - hideReadingtime = true - # Disqus shortname -# disqus = "" -# author = "Your Name" -# authorwebsite = "example.com" -# avatar = "/path/to/avatar" -# contact = "annabunches@gmail.com" -# bio = "" - # Short subtitle/tagline. This is displayed in the header. - subtitle = "It's words!" - # Logo image. This is displayed ogp image. -# logo = "/path/to/logo" -# favicon = "/path/to/favicon" - -[[menu.main]] - name = "Blog" - url = "/" - weight = 1 - -[[menu.main]] - name = "About" - url = "/about" - weight = 2 - -[[menu.main]] - name = "Tags" - url = "/tags" - weight = 4 - -[[menu.main]] - name = "Outer Wilds Guide" - url = "/posts/2023-10-26-outer-wilds-spoiler-free-tips/" - weight = 8 - -[[menu.main]] - name = "Star Citizen Starter Ships" - url = "/posts/2023-11-27-choosing-a-starter-ship-in-star-citizen/" - weight = 8 - -[related] - threshold = 80 - includeNewer = false - toLower = false - - [[related.indices]] - name = "keywords" - weight = 150 - [[related.indices]] - name = "tags" - weight = 100 - -[markup] - defaultMarkdownHandler = "goldmark" - [markup.goldmark.renderer] - unsafe = true - -[module] - [[module.imports]] - path = 'github.com/annabunches/hugo_theme_pickles' diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..a0cebc9 --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,55 @@ +baseurl: "https://annabunches.net/" +languageCode: "en-us" +Title: "Anna and the Bunches" +copyright: "© Anna Wiggins, 2006-2024" + +# Google Analytics API key. +googleAnalytics: "G-QFK0K7MGCJ" + +params: + paginate: 10 + custom_css: + - "/css/custom.css" + - "/css/spoiler.css" + dateFormat: "2006-01-02" + hideWordCount: true + hideReadingtime: true + subtitle: "It's words!" + +menu: + main: + - name: "Blog" + url: "/" + weight: 1 + - name: "About" + url: "/about" + weight: 2 + - name: "Tags" + url: "/tags" + weight: 4 + - name: "Outer Wilds Guide" + url: "/posts/2023-10-26-outer-wilds-spoiler-free-tips/" + weight: 8 + - name: "Star Citizen Starter Ships" + url: "/posts/2023-11-27-choosing-a-starter-ship-in-star-citizen/" + weight: 8 + +related: + threshold: 80 + includeNewer: false + toLower: false + indices: + - name: "keywords" + weight: 150 + - name: "tags" + weight: 100 + +markup: + defaultMarkdownHandler: "goldmark" + goldmark: + renderer: + unsafe: true + +module: + imports: + - path: 'github.com/annabunches/hugo_theme_pickles'