Please enable JavaScript in your browser!
Home
Verkennen
Help
Inloggen
caleb
/
pelican-plugins
Volgen
1
Ster
0
Vork
0
Bestanden
Kwesties
0
Pull-aanvragen
0
Wiki
Boom:
9201d51d33
Aftakkingen
Labels
master
touch
pelican-plug...
/
neighbors
Deniz Turgut
9e70c17839
import plugins from core and restructure repo
11 jaren geleden
..
Readme.rst
9e70c17839
import plugins from core and restructure repo
11 jaren geleden
__init__.py
9e70c17839
import plugins from core and restructure repo
11 jaren geleden
neighbors.py
9e70c17839
import plugins from core and restructure repo
11 jaren geleden
Readme.rst
Neighbor Articles Plugin for Pelican
====================================
This plugin adds ``next_article`` (newer) and ``prev_article`` (older)
variables to the article's context
Usage
-----
.. code-block:: html+jinja
{% if article.prev_article %}
{{ article.prev_article.title }}
{% endif %}
{% if article.next_article %}
{{ article.next_article.title }}
{% endif %}