An open API service indexing awesome lists of open source software.

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

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)