No trackbacks, no comments (in core), no admin interface.
Just plain file based blogging with a feed and extra pages.
After vti's great Bootylicious becoming unmaintained this is the next try to build a simple file system based blog on Mojolicious.
And here's how it works:
- write articles as text files and store them in the
articles
directory. - done.
Look at
- the
articles
directory to see examples. - the
drafts
directory to see how to preview articles before publishing. - the
pages
directory to see examples for content pages. - the
bootylite.conf
file to change the Bootylite parameters. - the templates (
bootylite.pl inflate
) to customize Bootylite - the code.
The renderer for articles and pages is determined by the file name extension. These renderers ship with Bootylite:
- .md -> Bootylite::Renderer::Markdown
- .html -> Bootylite::Renderer::HTML
It's easy to extend Bootylite to get more Renderers: just use Bootylite::Renderer as a base class.
Plugin authors can inherit from Bootylite::Plugin to extend Bootylite's
functionality. Look at Bootylite::Plugin::Comments for an example.
You can find a simple (but useless) plugin in the test suite. Plugin
configuration lives in the bootylite.conf
config file:
plugins => {
Comments => {
comments_dir => app->home->rel_dir('comments'),
encoding => 'utf-8',
},
},
Copyright (c) 2011 Mirko Westermeier, [email protected]
See the file MIT-LICENSE
in this distribution for details.