Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T21:49:26.000Z (about 2 years ago)
- Last Synced: 2023-03-01T20:33:00.493Z (almost 2 years ago)
- Topics: es6, flask, netlify, sass, static-site-generator
- Language: Python
- Size: 160 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
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 %}
```