remove permalinks config
This commit is contained in:
parent
c40f8e3dc1
commit
fb64b3c51c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user