From 9b7f89a5e70e89b3160d54bc243added66645fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20=C5=A0m=C3=ADd?= Date: Thu, 23 Feb 2017 17:50:54 +0100 Subject: [PATCH] added support for representative_image plugin (#83) --- README.md | 1 + templates/index.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 5774ad0..4742784 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ DON'T send any questions, issues or anything related to Flex to my personal emai - [Piwik](http://piwik.org/) - [StatusCake](https://www.statuscake.com/) - [Github Corners](https://github.com/tholman/github-corners) +- [Representative image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image) ## Install diff --git a/templates/index.html b/templates/index.html index 6b62711..a0769c1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -35,6 +35,9 @@
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %} + {% if article.featured_image %} + + {% endif %} {{ article.summary }}
{{ _('Continue reading') }}