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