Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
templates
README.md
sidebar.plugin
sidebar.py

README.md

This plugin renders a sidebar output/sidebar-LANG.inc 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