diff --git a/README.md b/README.md index fd0a25f..9c6725d 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ DON'T send any questions, issues or anything related to Flex to my personal emai - [Minute read](https://github.com/getpelican/pelican-plugins/tree/master/post_stats)) (new in 2.0) - [Related Posts](https://github.com/getpelican/pelican-plugins/tree/master/related_posts) - [Representative image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image) (new in 2.2) +- [Neighbors](https://github.com/getpelican/pelican-plugins/tree/master/neighbors) (new in 2.2) ## Install diff --git a/static/stylesheet/style.less b/static/stylesheet/style.less index 0f8722d..2e85900 100644 --- a/static/stylesheet/style.less +++ b/static/stylesheet/style.less @@ -138,6 +138,11 @@ main { } } + .neighbors { + margin: 4% 0% 4% 0%; + height: 20px; + } + .pagination { margin: 4% 8% 4% 8%; height: 20px; diff --git a/templates/article.html b/templates/article.html index f1e8cb1..080aeb2 100644 --- a/templates/article.html +++ b/templates/article.html @@ -57,6 +57,8 @@ {% endif %} + {% include "partial/neighbors.html" %} + {% if article.related_posts %}