Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

# Flask-blogpit

Blogpit reusable blueprint for flask

## Requirements

Naturally you will need flask, and blogpit. also:

  • Flask-WTF
  • BeautifulSoup

## Settings:

The following is a list of valid flask setting names:

  • BLOGPIT_COMMENTS: Globally enabled comments (default is False)
  • SPAM_MESSAGE: A message to be shown when comments are submitted by automated bots
  • SERVE_XHR_RAW: Serve file content _Raw_ for Ajax requests (default is False)

Recent activity

equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

d35ce42 - Disable markdown safe_mode in contrib handler - Since python-Markdown 2.2 safe_mode disables, the use of tag attributes.
equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

5b8feaa - Update package namespace for Flask >= 0.8 - Flask extensions before 0.8 were placed in flask.ext.name, now they are named flask_<name> and redirected to flask.ext.<name>.
equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

ab941c5 - Add DebugPit helper - A debugpit is essentially a fake blogpit that works using the files in the repository workdir instead of the git database. ...
equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

7175e7e - Fix issue with base menu template that crashed 404 - A missing check before calling blogpit_path.startswith caused us to crash on 404.
equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

0494e46 - Set class blogpit_menu_current for menu anchor - Blogpit now sets the class blogpit_menu_current for the anchor in the menu if the current path starts with ...
equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

fd9f03b - Add spam trap fields to comment forms - Add two fields(email, trap) as spam trap fields. - Template receives spam_found field. - When the form ...
equalsraf

Commits by equalsraf were pushed to equalsraf/flask-blogpit

6391637 - Add new settings SERVE_XHR_RAW - Added support for new settings SERVE_XHR_RAW. When this setting is true the content will be returned raw with mimetype text/plain ...
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.