remove permalinks config

This commit is contained in:
Adrian Amaglio 2023-12-30 13:16:52 +01:00
parent c40f8e3dc1
commit fb64b3c51c

View File

@ -53,13 +53,14 @@ theme = 'hugo-liftoff'
series = 'series' # Allows you to create an organized series of posts (e.g. multi-part tutorial) series = 'series' # Allows you to create an organized series of posts (e.g. multi-part tutorial)
project-type = 'project types' # Categorize projects by type (e.g. client work, personal, open source, etc.) project-type = 'project types' # Categorize projects by type (e.g. client work, personal, open source, etc.)
[permalinks] # Commented because of a bug
[permalinks.page] #[permalinks]
# e.g. /subsection/example-post instead of /posts/subsection/example-post # [permalinks.page]
posts = '/:sections[last]/:slug/' # Removes 'posts' from the permalink structure for posts created under nested sub-sections # # e.g. /subsection/example-post instead of /posts/subsection/example-post
[permalinks.section] # posts = '/:sections[last]/:slug/' # Removes 'posts' from the permalink structure for posts created under nested sub-sections
# e.g. /subsection/ instead of /posts/subsection/ # [permalinks.section]
posts = '/:slug/' # # e.g. /subsection/ instead of /posts/subsection/
# posts = '/:slug/'
[markup] [markup]
defaultMarkdownHandler = 'goldmark' # Default (everything under [markup] is unless otherwise specified) defaultMarkdownHandler = 'goldmark' # Default (everything under [markup] is unless otherwise specified)