Migrating from ikiwiki

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!

  1. You need to rename.
  2. You need to configure your project to use Git for dates. Not default, but is possible.

Thank you @bep!

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.

I think you need to read and understand the documentation. All your questions are answered here:

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:

Please edit the doc if it is missing crucial information. :slight_smile: