added support for representative_image plugin (#83)
This commit is contained in:
parent
a76e802b8f
commit
9b7f89a5e7
2 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ DON'T send any questions, issues or anything related to Flex to my personal emai
|
||||||
- [Piwik](http://piwik.org/)
|
- [Piwik](http://piwik.org/)
|
||||||
- [StatusCake](https://www.statuscake.com/)
|
- [StatusCake](https://www.statuscake.com/)
|
||||||
- [Github Corners](https://github.com/tholman/github-corners)
|
- [Github Corners](https://github.com/tholman/github-corners)
|
||||||
|
- [Representative image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image)
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %}
|
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %}
|
||||||
|
{% if article.featured_image %}
|
||||||
|
<img src="{{ article.featured_image }}">
|
||||||
|
{% endif %}
|
||||||
{{ article.summary }}
|
{{ article.summary }}
|
||||||
<br>
|
<br>
|
||||||
<a class="btn" href="{{ SITEURL }}/{{ article.url }}{% if not DISABLE_URL_HASH %}#{{ article.slug }}{% endif %}">{{ _('Continue reading') }}</a>
|
<a class="btn" href="{{ SITEURL }}/{{ article.url }}{% if not DISABLE_URL_HASH %}#{{ article.slug }}{% endif %}">{{ _('Continue reading') }}</a>
|
||||||
|
|
Loading…
Reference in a new issue