Pelican Neighbors

Mon 05 September 2016
Category: meta

Added the Pelican Neighbors plugin. This provides every post with links to the previous and following post.

pip install pelican-neighbors
  • Enabled neighbors in the pelicanconf.py plugins section
PLUGINS = [
    # ...
    'pelican_neighbors',
    # ...
]
  • Appended pelican-neighbors to requirements.txt so gitlab pages will include it in its python environment when it builds the site.

Template tweaking:

  • Tweaked the zurb-f5-basic article template to include article_neighbors
  </header>
  {% include 'article_infos.html' %}
  {% include 'article_neighbors.html' %}
  <div class="content">

Category: meta Tagged: pelican pelican-plugins change-log

Comments