Generates a simple static blog site, including headers (eg navigation bar to pages) based on provided HTML templates and posts in Markdown files.
- Python 3.6+ (for PEP 498-style string formatting)
Get requirements via pip
pip install -r requirements.txt
Give it an input directory and an output destination:
python3 bssg.py <path-to-blog-content> <path-to-output>
The provided blog content directory should include the following elements:
├── posts
│ ├── post1.md
│ ├── post2.md
│ └── post3.md
│ ...
├── static-pages # include static content pages here
│ ├── index.html
│ └── projects.html
│ ...
├── resources # for any needed content in posts
│ ├── img1.png
│ ├── img2.png
│ └── img3.png
│ ...
└── theme
├── body_template.html
├── card_template.html
├── custom.css
├── header_template.html
├── post_list_title_card.html
└── post_list_card.html
- Risks of duplicating post names/URLs and tag URLs