Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description
___________.__
\_   _____/|  |  _____     ____    ____    ____
 |    __)  |  |  \__  \   / ___\ _/ __ \  /    \
  |     \   |  |__ / __ \_/ /_/  >\  ___/ |   |  \
   \___  /   |____/(____  /\___  /  \___  >|___|  /
        \/               \//_____/       \/      \/

Flagen is a Flask Site/Blog generator.

Installation

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

Usages

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

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

Options:
  --help  Show this message and exit.

Commands:
  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

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

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

  Serve site

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

Examples

$ 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

Feedback

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 History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
flagen-0.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Apr 26, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting