Reorder parameters and try adding submenus.
This commit is contained in:
47
hugo.toml
47
hugo.toml
@@ -1,20 +1,32 @@
|
||||
|
||||
### My Params ###
|
||||
|
||||
baseURL = '/'
|
||||
languageCode = 'en-us'
|
||||
title = "Hyperling's Works"
|
||||
subtitle = "My recipes, blogposts, musings, and more."
|
||||
|
||||
paginate = 10
|
||||
|
||||
# Allow direct HTML.
|
||||
markup.goldmark.renderer.unsafe = true
|
||||
|
||||
paginate = 10
|
||||
### End My Params ###
|
||||
|
||||
|
||||
### Theme ###
|
||||
# Seems pretty good, just need to add more config params so it acts better.
|
||||
theme = "hello-friend-ng"
|
||||
|
||||
# Main Documentation
|
||||
# https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/config.md
|
||||
|
||||
# Favicon documentation for this theme.
|
||||
# https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/favicons.md
|
||||
# Generator
|
||||
# https://realfavicongenerator.net/your-favicon-is-ready
|
||||
|
||||
###
|
||||
## Theme Suggested Params ##
|
||||
# The parameters below were copied, modified, or inspired from:
|
||||
# https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure
|
||||
[params]
|
||||
@@ -74,37 +86,60 @@ theme = "hello-friend-ng"
|
||||
identifier = "00-all"
|
||||
name = "All"
|
||||
url = "/posts"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "01-tags"
|
||||
name = "Tags"
|
||||
url = "/tags"
|
||||
parent = "00-all"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "02-cats"
|
||||
name = "Categories"
|
||||
url = "/categories"
|
||||
parent = "00-all"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "20-food"
|
||||
name = "Food"
|
||||
url = "/tags/food"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "30-crafts"
|
||||
name = "Crafts"
|
||||
url = "/tags/crafts"
|
||||
weight = 3
|
||||
|
||||
#[[menu.main]]
|
||||
# identifier = "50-blog"
|
||||
# name = "Blogposts"
|
||||
# url = "/tags/blog"
|
||||
# weight = 1
|
||||
|
||||
#[[menu.main]]
|
||||
# identifier = "60-poetry"
|
||||
# name = "Poetry"
|
||||
# url = "/tags/poem"
|
||||
# weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "91-books"
|
||||
identifier = "80-books"
|
||||
name = "eBooks"
|
||||
url = "https://hyperling.com/books"
|
||||
weight = 9
|
||||
|
||||
# End parameters related to:
|
||||
# https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure
|
||||
###
|
||||
##
|
||||
|
||||
## Failed Themes ##
|
||||
### End Theme ###
|
||||
|
||||
|
||||
### Failed Themes ###
|
||||
# Do not go back to these unless figuring out what was done wrong.
|
||||
|
||||
# not functioning well
|
||||
@@ -126,3 +161,5 @@ theme = "hello-friend-ng"
|
||||
# but FAILS at monospace fonts in code blocks and CSS for URLs is horrible.
|
||||
# Could maybe be modified to serve well enough.
|
||||
#theme = "hugo-classic"
|
||||
|
||||
### End Failed Themes ###
|
||||
|
||||
Reference in New Issue
Block a user