diff --git a/static/stylesheet/style.less b/static/stylesheet/style.less
index 9049567..3605122 100644
--- a/static/stylesheet/style.less
+++ b/static/stylesheet/style.less
@@ -133,7 +133,7 @@ main {
}
}
- .pagination {
+ .pagination, .neighbors {
margin: 4% 8% 4% 8%;
height: 20px;
}
diff --git a/templates/article.html b/templates/article.html
index 23f960d..c034e33 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -56,6 +56,8 @@
{% endif %}
+ {% include "partial/neighbors.html" %}
+
{% if article.related_posts %}
{{ _('You might enjoy') }}
diff --git a/templates/partial/neighbors.html b/templates/partial/neighbors.html
new file mode 100644
index 0000000..fbbe0a4
--- /dev/null
+++ b/templates/partial/neighbors.html
@@ -0,0 +1,14 @@
+{% if 'neighbors' in PLUGINS %}
+
+{% endif %}
diff --git a/tests/pelicanconf.py b/tests/pelicanconf.py
index 86b2f4a..09ab917 100644
--- a/tests/pelicanconf.py
+++ b/tests/pelicanconf.py
@@ -3,10 +3,13 @@
from __future__ import unicode_literals
-PLUGIN_PATHS = ['../plugins']
-PLUGINS = ['i18n_subsites']
+# Optional 'neighbors' plugin adds previous/next post buttons to articles.
+PLUGIN_PATHS = ['../../pelican-plugins']
+PLUGINS = ['i18n_subsites', 'neighbors']
-JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n', 'jinja2.ext.autoescape', 'jinja2.ext.with_']}
+JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n',
+ 'jinja2.ext.autoescape',
+ 'jinja2.ext.with_']}
AUTHOR = u'Test'
SITEURL = u'http://localhost:8000'
@@ -54,8 +57,6 @@ CC_LICENSE = {
COPYRIGHT_YEAR = 2016
-DEFAULT_PAGINATION = 10
-
STATUSCAKE = {
'trackid': 'test-test',
'days': 7,