Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A flask static site generator that uses markdown and jinja2 templates.

Project description

\_   _____/|  |  _____     ____    ____    ____
 |    __)  |  |  \__  \   / ___\ _/ __ \  /    \
  |     \   |  |__ / __ \_/ /_/  >\  ___/ |   |  \
   \___  /   |____/(____  /\___  /  \___  >|___|  /
        \/               \//_____/       \/      \/

Build Status

Flagen is a Flask Site/Blog generator.


$ git clone https:/
$ cd flagen
$ pip install -e .


$ flagen --help
Usage: flagen [OPTIONS] COMMAND [ARGS]...

Flagen is a simple static site generator built on top of Frozen Flask

  --help  Show this message and exit.

  build  Build site and generate a `build` folder
  serve  Serve site

$ flagen build --help
Usage: flagen build [OPTIONS]

Build site and generate a `build` folder

--template PATH  Pass a custom template directory
--help           Show this message and exit.

$ flagen serve --help
Usage: flagen serve [OPTIONS]

  Serve site

  --template PATH  Pass a custom template directory
  --help           Show this message and exit.


$ flagen serve

$ flagen serve --template templates/templates_material/

$ flagen serve --template templates/simple/

$ flagen build

$ flagen build --template templates/templates_material/

As a blog

Content in the pages folder are rendered as blog posts

Each post takes the following format:

title: Hello World
date: 2014-11-29
tags: [general, awesome, stuff]

**Hello World**, from a *page*! etc, etc

The blog content will be in markdown. Look in the pages folder for example


Star this repo if you find it useful. Use the github issue tracker to give feedback on this repo or to report an issue.

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
flagen-0.1.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None Apr 26, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page