Flask based static site boilerplate/generator
python 3
make create-venv && echo "DEBUG=True" > .env
make dev
make build
If you have a need for collections you can specify the folder within config.py
Example: collections = ['products']
This will grab all .md
files within pages/products
and add them to the
collections
dict to use in your templates.
Assuming there would be a title
frontmatter property in a products collection file.
{% for product in collections.products %}
<h3>{{ product.title }}</h3>
{% endfor %}