A simple blog framework powered by Flask.
-
Markdown support
-
Local server to preview
-
Edit your configuration in
config.json
-
Put your markdown source files of posts in
/posts
and your customized pages in/pages
A markdown source file example:
The First Passage
2016-02-26
---
Hello World!
The first line is the title of the passage and the second is date. There should be a seperating line followed by the text.
- Run local server at
http://localhost:5000/
orhttp://127.0.0.1:5000/
python sever.py
- Generating static HTML files in
/build
python generate.py
- Upload static files in directory
/build
to your site
Glob uses Jinja2 for HTML templates.
Put your own HTML templates in templates/theme_name/
and static files (.css/.js
) in static/theme_name/
- Python 2.7
- Flask
- Frozen-Flask
- Jinja2
WTFPL