Package: blogofile_blog
This is aBlogofileplugin that implements a basic blog engine.It provides a collection of Mako template files along with CSS and ancillary
files,
all derived from the HTML5Boilerplate project.
It also providedBlogofileconfiguration, controllers, filters, and commands
to allow you to create a simple blog engine that requires no database
and no special hosting environment.The templates include features like:Customweb fonts from GoogleDisquscommentsGoogle Analyticstracking code stubseaofcloudsjQuery twitter pluginUse them or remove them as you wish.There’s also a few sample posts to show off:Syntax highlighting for code snippetsUnicode supportBasic Markdown syntaxCustomize the Mako templates,
create posts in reStructuredText, Markdown, or Textile, (or even plain HTML)
and blogofile generates your entire blog as
plain HTML, CSS, Javascript, images, and Atom/RSS feeds
which you can then upload to any old web server you like.
No database.
No CGI or scripting environment on the server.
Just fast, secure static content!Take a look at the blogofileproject docsfor a quick-start guide,
and detailed usage instructions.Or create a virtualenv and dive right in with:pip install -U blogofile
pip install -U blogofile_blogNext ReleaseChange templates to load disqus with a protocol-relative URL.
Seehttps://github.com/EnigmaCurry/blogofile_blog/pull/29Addpage_numto environment of categories and chronological
controllers so that it can be used in templates.
Seehttps://github.com/EnigmaCurry/blogofile_blog/pull/27Add YAML error message to “Post has bad YAML section” error message.
Seehttps://github.com/EnigmaCurry/blogofile_blog/pull/24Add Python 3.3 to list of versions that blogofile_blog is tested under.
That list is now Python 2.6, 2.7, 3.2, and 3.3.Fix typo in defaulthead.makotemplate.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/23Fix an issue whereby use of the post UUID (aka guid) in the
permalink caused TypeError due to bytes vs. string.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/14Addmdas a synonym formarkdownto the default filters
file extension list.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/21Fix handling of Unicode in Markdown syntax highlighting filter.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/20Allow multiple user template directories.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/13andhttps://github.com/orki/blogofile_blog/commit/9ab46d4Improved readability of defaultheader.makotemplate,
and fixed highlighting of site sections in header bar so that “Blog”
remains highlighted for all posts.Changed URLs to end with a / to avoid spurious 301 responses.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/5Fix handling of post headerdateandupdatedfields that are
converted todatetimeobjects by the YAML parser.
Seehttps://github.com/EnigmaCurry/blogofile_blog/pull/1Useconfig.blog.post.date_formatin post file header creation
as well as in post file processing.0.8b1If you’ve been using the blogofile_blog code from GitHub but haven’t
updated in a while you should take note of the following.Breaking ChangesFunctions in theblogofile.utilmodule can now only be accessed in
templates via thebf.utilnamespace; e.g.bf.util.site_path_helper().
Accessing util functions viabf.config.utilno longer works.
It is unknown how widespread the use ofbf.config.utilis,
but at least 2 in-the-wild occurrences were found and corrected in
theblogofile.comsite source files.Bug FixesFix an issue with the template lookup order whereby user’s templates
failed to override pluginsite_srctemplate of the same name.
Seehttps://github.com/EnigmaCurry/blogofile_blog/issues/13Fix Python 2 handling of utf-8 encoded content in posts.
Seehttps://github.com/EnigmaCurry/blogofile_blog/pull/10.Fix disabling of Disqus comments on permalink page.
Seehttps://github.com/EnigmaCurry/blogofile_blog/pull/9.FeaturesThe codebase has been unified for Python 2.6, 2.7 and 3.2 (no 2to3 or
3to2 conversion required).No longer dependent on a version of theargparselibrary bundled
with blogofle.argparseis included in the standard library for
Python 2.7 and 3.2+.setup.pywill install it from PyPI for Python
2.6, 3.0, and 3.1.