https://github.com/mdxprograms/fastic
Flask based static site boilerplate/generator
https://github.com/mdxprograms/fastic
es6 flask netlify sass static-site-generator
Last synced: 14 days ago
JSON representation
Flask based static site boilerplate/generator
- Host: GitHub
- URL: https://github.com/mdxprograms/fastic
- Owner: mdxprograms
- Created: 2019-05-12T16:28:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T20:33:25.000Z (about 2 years ago)
- Last Synced: 2025-04-20T08:38:14.562Z (about 1 month ago)
- Topics: es6, flask, netlify, sass, static-site-generator
- Language: Python
- Size: 161 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fastic
>Flask based static site boilerplate/generator
[](https://app.netlify.com/sites/fastic/deploys)
[](https://app.netlify.com/start/deploy?repository=https://github.com/mdxprograms/fastic)
### requirements
`python 3`### setup
```bash
make create-venv && echo "DEBUG=True" > .env
```### run dev
`make dev`### run build
`make build`### Using Collections
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.
```jinja2
{% for product in collections.products %}
{{ product.title }}
{% endfor %}
```