Use yaml instead of toml. Thank the gods this is finally an option.
This commit is contained in:
parent
f49428dfea
commit
725fda2596
72
hugo.toml
72
hugo.toml
|
@ -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'
|
55
hugo.yaml
Normal file
55
hugo.yaml
Normal file
|
@ -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'
|
Loading…
Reference in New Issue
Block a user