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: 2 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T21:49:26.000Z (almost 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
[![Netlify Status](https://api.netlify.com/api/v1/badges/2b6e7e5a-e314-47b7-be7b-e7d4dfc630e7/deploy-status)](https://app.netlify.com/sites/fastic/deploys)
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](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 %}
```