Hi I just started with hugo.
I write posts with emacs that will be stored in /content/post/creation_date-title.org
When I run hugo a public directory will be created with all things to publish. Unfortunately the filename I gave the posts will not be used but only the title without creation_date. So it is impossible to give two posts the same title.
How do I prefix those files with the creation date, that those appear to be different?
Greetings,
momohugo
I believe permalinks will give you the result you’re looking for. HTH.
I tried permalinks in my config.toml:
[permalinks]
post = "/:filename/"
My content directory looks like this:
% ls content/post
2017-06-20-test_post.org
The resulting public directory then looks like this when executing hugo without arguments:
% ls public/
test_post/
index.html
index.xml
[...]
From what I understand It should’ve been:
% ls public/
2017-06-20-test_post/
index.html
index.xml
[...]
Please tell me if I can provide more information.