3 ms·
Thanks for the feedback. Don't understand what file extension has with URL structure? It's relative no matter what, or am I missing something? Writing it in Go
by tomcam 6y ago
Thanks for the feedback. Don't understand what file extension has with URL structure? It's relative no matter what, or am I missing something?
Writing it in Go.
- tiernano 6y agonot necessarily the extension that would link to the url, but the file might be, in my case with Hugo, in posts/2020-01-01-title.md. but when that gets built, it will be in posts/2020/01/01/title.html... you could, in theory, not have the date in the file name, and just use the date from the md file, which then will still generate that way...
- tomcam 6y agoI think that’s due to the way Hugo converts the date portion of the source file, which has a whole bunch of rules about weighting and things, but I’m not smart enough to understand how they work.