Sidebar include renderer.

To install, run nikola plugin -i sidebar

This plugin renders a sidebar output/ defined by a template sidebar.tmpl. The sidebar can contain the most recent posts, all categories, all tags, the archives, all sections, and other taxonomies and arbitrary other content. The packaged sidebar.tmpl and sidebar-helper.tmpl shows how this information can be shown.

The generated include file, one per language, must be somehow included in the rest of the blog. This can be done by using JavaScript to dynamically include the file, or by using tools like File Tree Subs.

The maximum number of most recent posts can be changed by defining SIDEBAR_MAXIMUM_POST_COUNT = number in the Nikola configuration.

Note that the default templates expect some extra messages (translations), namely:

  • Recent Posts
  • Archives
  • Categories
  • Tags

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.