Python SSG

Restructure final html name, to be sequenced by date/time. Because of the random way filenames can be returned. For example if you have 500 files then add one, it won’t necessarily be the 501st file python returns. This makes it hard for me to fix links. I decided it best to sequence (time wise) html file names 0001.html, 0002.html…0500.html oldest to most recent. For example before this change the oldest post was returned 456th and would have been named 0456.html the one before that was returned 66th. With this change the oldest post will always be 0001.html. This also helped me to easily separate the steps.

## (1) Reformat Hugo Markdown
## (2) Convert Markdown to HTML (Slow!)
## (3) Add HTML Formatting
## (4) Build Index

For 450+ posts…
All the steps where I/python does the work are fast! (< 1 sec)
Step #2 which calls an external program “md-to-html” is slow (>30sec)