Commit Graph

3 Commits

Author SHA1 Message Date
af1e340816
feat: Add SiteName replacer
Now the string `%SITENAME%` can be replaced with a value stored in the
`cssitegen.json` file of a project.
2024-06-03 03:22:41 +01:00
18ed0534b7
refactor(EVERYTHING): Refactor all the things.
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.
2024-01-16 11:00:35 +00:00
Robert Morrison
0968c20d4d
Add testing directory
This directory provides a place to test the programs functionality.
TODO: Add the dst directory contents to .gitignore to ensure it stays
empty
2022-06-21 22:32:52 +01:00