Skip to main content

Flask-FlatPagesCut is fork Flask-FlatPages (Provides flat static pages to a Flask application)

Project description

Added :cut: tag...

In *.md file add :cut: for split content into preview and body.
In templates {{page.cut|safe}} - preview, {{page.html|safe}} - body, {{page}} - preview and body.

Original readme:
===============

Flask-FlatPages
---------------

Provides flat static pages to a Flask_ application, based on text files
as opposed to a relationnal database.

* BSD licensed
* Latest documentation `on python.org`_
* Source, issues and pull requests `on Github`_
* Releases `on PyPI`_
* Install with ``pip install Flask-FlatPages``

.. _Flask: http://flask.pocoo.org/
.. _on python.org: http://packages.python.org/Flask-FlatPages/
.. _on Github: https://github.com/SimonSapin/Flask-FlatPages/
.. _on PyPI: http://pypi.python.org/pypi/Flask-FlatPages

Project details


Download files

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

Source Distribution

Flask-FlatPagesCut-0.5.1.tar.gz (15.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page