From 39c93b218db9a135ed57a4190e76d12d1177fe59 Mon Sep 17 00:00:00 2001 From: olipratt Date: Sat, 4 Mar 2017 12:14:29 +0000 Subject: [PATCH] Add support for the neighbors plugin --- static/stylesheet/style.less | 2 +- templates/article.html | 2 ++ templates/partial/neighbors.html | 14 ++++++++++++++ tests/pelicanconf.py | 11 ++++++----- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 templates/partial/neighbors.html 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 %}