I want to create a documentation site, using e.g. hextra theme.
At the moment, as a source, I have a bunch of markdown files without hugo front matter, organized into Units and Lessons in the following way:
My goal is to generate a site with the same structure. How to automate that process?
Specifically, generate an appropriate front matter for each of the markdown files that will:
- inherit the page name from the filename
- correctly point to “prev” and “next” page
?
I would be grateful for any tip on the method to use. I’m a hugo newbie and didn’t have time to study all the docs, so that could have been already solved somehow, but still would appreciate Your advise,
Andy
