Files
hugo-recipes/hugo.yaml
T

196 lines
4.7 KiB
YAML

# 2025-11-21 Changed to be YAML rather than TOML. Much easier to understand.
### My Params ###
# Override this for dev and stage using the -b flag on the hugo command.
baseURL: 'https://blog.hyperling.com'
locale: 'en-US'
label: 'English'
title: "Hyperling's Works"
subtitle: "My recipes, blogposts, musings, and more."
author: Chad Michael Greenwood
email: me@hyperling.com
pagination:
pagerSize: 999999
markup:
goldmark:
# Allow direct HTML.
renderer:
unsafe: true
# Prevent URLs from becoming links which open in the same tab.
extensions:
linkify: false
tableOfContents:
endLevel: 4
ordered: false
startLevel: 2
# 20260911: libsass to dart-sass
# - Delayed: not supported on Debian Trixie besides through snap >:(
#sass:
# transpiler: dartsass
### End My Params ###
### Menu ###
taxonomies:
categories : "categories"
tags : "tags"
series : "series"
menu:
main:
- identifier : "01-search"
name : "Search"
url : "/search"
weight : 00 # 0 goes to the end, 1 goes to the front.
- identifier : "10-all"
name : "All"
url : "/posts"
weight : 10
- identifier : "11-tags"
parent : "10-all"
name : "Tags"
url : "/tags"
weight : 11
- identifier : "12-cats"
parent : "10-all"
name : "Categories"
url : "/categories"
weight : 12
- identifier : "20-blog"
name : "Articles"
url : "/categories/articles"
weight : 20
- identifier : "40-recipes"
name : "Recipes"
url : "/categories/recipes"
weight : 40
- identifier : "60-poetry"
name : "Poetry"
url : "/categories/musings"
weight : 60
#- identifier : "70-guides"
# name : "Guides"
# url : "/categories/guides"
# weight : 70
- identifier : "80-books"
name : "Books"
url : "/categories/books" #"https://hyperling.com/books"
weight : 80
- identifier : "90-videos"
name : "Videos"
url : "/categories/videos"
weight : 90
### End Menu ###
### Theme ###
# Seems pretty good, just need to add more config params so it acts better.
theme: ["PaperMod"]
## Search - Needed ##
outputs:
home:
- HTML
- RSS
- JSON
### Params ###
params:
colorScheme: "dark"
disableThemeToggle: true
label:
text: "Hyperling's Written Works"
icon: "/favicon.svg"
iconHeight: 32
## Search - Optional ##
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
dateform : "January 2, 2006"
dateformShort : "Jan 2"
dateformNum : "2006-01-02"
dateformNumTime : "2006-01-02 15:04"
# Subtitle for home
homeSubtitle: "Articles, recipes, musings, and more."
# Set disableReadOtherPosts to true in order to hide the links to other posts.
disableReadOtherPosts: false
# Enable sharing buttons, if you like
enableSharingButtons: false
# Show a global language switcher in the navigation bar
enableGlobalLanguageMenu: false
# Metadata mostly used in document's head
description: "Written works by Hyperling. Includes articles, recipes, poetry, guides, video links, eBooks, announcements, and more."
keywords: "homepage, blog, recipes, crafts, food, seasonings, woodworking, poetry, poems"
images: [""]
author: Chad Michael Greenwood
# Unsure if actually being used.
email: me@hyperling.com
# My Custom Params #
authorBug: "Chad Michael \"Bug\" Greenwood"
authorHyperling: "Chad Michael \"Hyperling\" Greenwood"
authorHyperVegan: "Chad Michael \"HyperVegan\" Greenwood"
authorDefault: "Chad Michael Greenwood"
odyseeVideoWidthPercentage: 100
# End My Custom Params #
languages:
en:
title: "Hyperling's Written Works"
copyright: '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
params:
#subtitle = "Blogposts, recipes, musings, and more."
readOtherPosts: "Read other posts"
keywords: ""
logo:
logoText: "Back to Main Site"
logoCursorColor: "#663399"
logoHomeLink: "https://hyperling.com"
logoNewTab: true
# or
#
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
# [languages.es]
# title = "Hola Amigo!"
# keywords = ""
# copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
# readOtherPosts = "Read other posts"
### End Params ###