With a little bit of OOP and a monster commit, I too can make a an ssg, Ka-chow... Changes: - ➕ added class to represent SiteFile - ➕ enabled conversion semi-automatic based on file type. - ➕ added template to Testing. - ➖ Removed awful code for dependency search - ➖ Removed awful code for enumerating directory - ➕ arguments to a class to allow for easier passing to other parts of the code. TODO: - 🐞Test and debug with a copy of a live site, - ✍️ Add handling for Pandoc errors on stderr - ❓Look into parallelising as much as possible.
6 lines
581 B
Plaintext
6 lines
581 B
Plaintext
- Add a pre-commit or other type of hook to ensure that the Testing directory is properly cleaned and reset before commit.
|
|
- Double check that links are processed correctly by testing against a copy of my blog source.
|
|
- Also add the appropriate metadata to the markdown files to make sure that they are properly detected.
|
|
- Potentially host a local Test version to fully ensure that everything can be made to work properly.
|
|
- Look into the possiblity of using a TemplateTemplate, And generating the pandoc template on the fly making it possible to switch out domian/prefix stuff
|