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.htmlcommon to all fileshome.htmlmain page templateposts.htmlother 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyssgen-1.1.0.tar.gz.
File metadata
- Download URL: pyssgen-1.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a57d07aaac26cdddd1094088e24d938b1897e9759c24a945bacecce5e9ef934
|
|
| MD5 |
58d53be27d2b3928d01ffe1c644ca5d5
|
|
| BLAKE2b-256 |
7499bc25670d453b7dfda64dad3f2815ea893e885b032af13a1878a2c2ba5bc5
|
File details
Details for the file pyssgen-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pyssgen-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac3b2ed13c44519f097acc3d5d635cf2bfaae5f67e12cd79f6febd5439386cf5
|
|
| MD5 |
6f82ba021c673aacd2a9e7a52d38b05f
|
|
| BLAKE2b-256 |
dfa0ed7d7724ee76317fb6fb3f27a25c9c71a68db312a2b7ff6f7bc3e8c2d0e2
|