Skip to content

mdxprograms/fastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastic

Flask based static site boilerplate/generator

Netlify Status

Deploy to Netlify

requirements

python 3

setup

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.

{% for product in collections.products %}
  <h3>{{ product.title }}</h3>
{% endfor %}

About

Flask based static site boilerplate/generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •