mininmal static site generator is a minimal SSG written in python
- Configure meta tags to individual files
- CSS support
- Support for unix path wildcards in config
- Global CSS support
$ git clone https://github.com/base-13/mingen.git
$ cd mingen
$ pip install .
here is a sample ming file
# h1
#1 h1
#2 h2
#3 h3
#4 h4
#5 h5
#6 h6
*bold*
/italic/
_subscript_
+superscript+
-strikethrough-
and *ofcourse /formattings/ can* be nested
and /obviously there exist escape \/ characters/
here is a block with class "note"
[s-note]Inline block content, this will be enclosed in <span>[e-note]
here is another block with class "note2"
[s-note2]
this will be enclosed in <div>
[e-note2]
you can also link all you want
[this is a link](https://example.com)
here is a sample config.toml mingen uses config.toml present in PWD
language = "en"
global_css_path = "global.css"
meta = [
{
file = "example.ming",
type = "title",
content = "A very good title",
},
{
file = "*",
type = "charset",
content = "utf-8",
},
{
file = "*",
type = "name",
name = "viewport",
content = "width=device-width, initial-scale=1",
},
{
file = "example.ming",
type = "property",
name = "og:title",
content = "About page title",
},
]
css = [
{
file = "example.ming",
css = "weee.css",
},
]
# execute on a specific directory
$ ming input_dir
# output to a specific directory
$ ming -o output_dir
# emit CSS from output
$ ming --no-css