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)
project-type = 'project types' # Categorize projects by type (e.g. client work, personal, open source, etc.)
[permalinks]
[permalinks.page]
# e.g. /subsection/example-post instead of /posts/subsection/example-post
posts = '/:sections[last]/:slug/' # Removes 'posts' from the permalink structure for posts created under nested sub-sections
[permalinks.section]
# e.g. /subsection/ instead of /posts/subsection/
posts = '/:slug/'
# Commented because of a bug
#[permalinks]
# [permalinks.page]
# # e.g. /subsection/example-post instead of /posts/subsection/example-post
# posts = '/:sections[last]/:slug/' # Removes 'posts' from the permalink structure for posts created under nested sub-sections
# [permalinks.section]
# # e.g. /subsection/ instead of /posts/subsection/
# posts = '/:slug/'
[markup]
defaultMarkdownHandler = 'goldmark' # Default (everything under [markup] is unless otherwise specified)