I’ve been using Hugo for personal and professional work for well over a year now and I’m so glad to see how far this framework has come. I feel archetypes have solved a lot of problems when it comes to maintaining consistency and reducing the amount of time it takes to create the file, but I also feel they could be a little less monotonous when using the CLI.
Things I Needed:
- To enter a string text with special characters, and have that automatically converted to a valid filename.
- Create multiple markdown files (in a numbered sequence), when working with headless pages like FAQ’s.
I knew I could use Python to automate that for me, so I created a script and thought I’d share it here if anyone else needed this too
Here’s a link to the repo! https://github.com/hithismani/hugon
Please feel free to share any feedback you want to share with me, I’d love to help improve this.