https://github.com/cheeplusplus/simplestaticsitegen
Simple Static Site Generator using Python and Jinja
https://github.com/cheeplusplus/simplestaticsitegen
Last synced: about 2 months 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 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T07:06:44.000Z (about 1 year ago)
- Last Synced: 2025-02-01T05:25:48.595Z (4 months ago)
- Language: Python
- Size: 73.2 KB
- Stars: 2
- Watchers: 2
- 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 sssgsssg.process_directory("input", "output")
```Examples
---[Creator's blog site using SSSG](https://github.com/cheeplusplus/ncn-blog)