hendry
October 4, 2018, 6:45am
1
Hi, I copied in my markdown content from [1] to a hugo template: [1] and now I see:
Little confused. So I hope you can excuse the newbie questions:
Does hugo understand my .mdwn extensions or do I need to rename the files?
Does hugo use the time from the git commits of the markdown files I committed?
How do I maintain the previous URL structure? e.g. [1]
Thank you in advance!
p.s. this forum only allows two links for new users, hence for the URLs please view https://s.natalian.org/2018-10-04/new-user.txt … sorry!
hendry
October 4, 2018, 7:56am
3
Thank you @bep !
bep:
You need to configure your project to use Git for dates. Not default, but is possible.
Do you have an example of how this is done? I don’t mind generating some one off metadata for the files I have, but I am not sure how to do it.
bep
October 4, 2018, 8:00am
4
I think you need to read and understand the documentation. All your questions are answered here:
hendry
October 4, 2018, 8:19am
5
Your URL just points to the top level hugo site. Could you not please be more specific?
There is surprisingly no mention of time / temporal information upon https://gohugo.io/content-management/organization/
Also tried searching for “hugo post time”. No dice.
It’s a bit daunting at first but, there’s really no substitute for just diving in and reading all the docs; you’ll get an idea of what to do. The docs search is pretty good. I searched and found:
1 Like
Always handy for dealing with datetime when you get more into templating:
maiki
October 4, 2018, 6:27pm
9
Please edit the doc if it is missing crucial information.