From 7c970567f8cb7936c07ac09be2fb1683bd3ecf61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20=C5=A0m=C3=ADd?= Date: Thu, 16 Feb 2017 11:07:54 +0100 Subject: [PATCH] added support for representative_image plugin --- README.md | 1 + templates/index.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index a278e76..f81f635 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme. - [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 a283c88..3398226 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') }}