beautifulhugo
beautifulhugo copied to clipboard
[Question] How to change permalinks
Hi! I'm using your theme in my own blog, ¡thanks for sharing!
I was wondering if it's possible to change the permalinks, from: {{ absoluteURL}}/post/{{ slug }} to {{ absoluteURL}}/year/month/{{ slug }}
Thanks in advance!
Hi @yamila-moreno
I haven't tried this below yet. Let me know if this works for you in config.toml
[Permalinks]
blog = "/blog/:year/:month/:day/:title/"
#blog = "/blog/:year/:month/:day/:filename/"
#blog = "/blog/:year/:month/:title/"
Cheers
I tried my own above suggestion and it works for blog = "/blog/:title/"