HUGO

How do I serve blog pages directly under /content directory without subfolder?

Hello. I have created my blog and so far it works great. I just want to make a little adjustment that i could not fire out how. I need your help to complete this last tweak.

My blog posts publishing under /yazilar directory and when i called a page, it shows like https://url/yazilar/sample-page so i would like to change this like https://url/sample-page.

How do i do this?

my blog: https://koray.dev
github repo: GitHub - koraylinux/new-blog

Thank you very much for your help.

[permalinks]
yazilar = "/:title/"

See https://gohugo.io/content-management/urls/#permalinks.

Thanks, it was very quick :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.