Static site generator built with python
Project description
pyssgen
pyssgen is a lightweight alternative to hugo and other static site generators. I used it to build my static blog and included the templates and css that I use along with it.
Please note that it's only a side project and might not be suitable for bigger websites.
Installation
>>> pip install --user pyssgen
Usage
>>> python3 -m pyssgen <input-dir> <output-dir> (optional: <templates-dir>)
customizing
You can make your own templates and css by adding the following files to your custom templates folder:
base.html
common to all fileshome.html
main page templateposts.html
other pages templates
and adding a styles.css
to static/
directory.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyssgen-1.1.0.tar.gz
(4.0 kB
view hashes)