Please enable JavaScript in your browser!
Inicio
Explorar
Axuda
Iniciar sesión
caleb
/
pelican-plugins
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Árbore:
9201d51d33
Ramas
Etiquetas
master
touch
pelican-plug...
/
neighbors
Deniz Turgut
9e70c17839
import plugins from core and restructure repo
%!s(int64=12) %!d(string=hai) anos
..
Readme.rst
9e70c17839
import plugins from core and restructure repo
%!s(int64=12) %!d(string=hai) anos
__init__.py
9e70c17839
import plugins from core and restructure repo
%!s(int64=12) %!d(string=hai) anos
neighbors.py
9e70c17839
import plugins from core and restructure repo
%!s(int64=12) %!d(string=hai) anos
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 %}