All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to PEP 440.
0.2 - 2019-01-01
- build_indices now passes the number of of indices to templates.
- Added tests.
- Added more doc strings to functions.
- Enabled trim_blocks and lstrip_blocks for Jinja2 templates to remove blank lines in output.
- In build/blog.build_indices, site['blog']['continue'] is set to None now instead of False if there is only one index to build.
- Fixed build_indices so that it properly handles multiple indices.
- Breaking change: Merged parse_post into parse_page, build_post into
build_page, and build/blog.py render_template into build/site.py the
render_template and moved all to
build/__init__.py
. This required moving dictionary created from blog.yml into a sub-dictionary of the site.yml dictionary. This will break any templates from version 0.1 that relied on being passed a blog dictionary. - Added .strip() to data['page_text'] assignment in parse_page.
- Reformatted
build/__init__.py
build/blog.py and build/site.py with Black.
- Site building functionality
- Blog building functionality