https://github.com/cheeplusplus/simplestaticsitegen
Simple Static Site Generator using Python and Jinja
https://github.com/cheeplusplus/simplestaticsitegen
Last synced: about 1 year ago
JSON representation
Simple Static Site Generator using Python and Jinja
- Host: GitHub
- URL: https://github.com/cheeplusplus/simplestaticsitegen
- Owner: cheeplusplus
- License: mit
- Created: 2018-08-15T08:04:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T07:06:44.000Z (about 2 years ago)
- Last Synced: 2025-03-26T23:44:41.430Z (over 1 year ago)
- Language: Python
- Size: 73.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple Static Site Generator
===
Takes an input directory with Markdown, plain HTML, or Jinja templates and turns them into a nice static HTML website.
Recommended Python 3.6 or later.
Customization
---
In your input directory, create `.templates/
Running
---
CLI:
```
sssg [--delete] [--files-as-dirs] [--ignore *.ignore,paths/] source destination
```
Code example
```
import sssg
sssg.process_directory("input", "output")
```
Examples
---
[Creator's blog site using SSSG](https://github.com/cheeplusplus/ncn-blog)