This is an example of a basic static site generator in Python.
In your python virtual environmnet (I'm using Python 3.11), install the dependencies pip install -r requirements.txt
.
- In the
config.yml
file, Set the name of the theme you want to use (the theme must be in thethemes
folder). - Run the
main.py
file. - the rendered webpages will appear in the
rendered/
directory.