Support for link posts through the Link: metadata field

This commit is contained in:
Michiel Scholten 2020-01-06 12:50:02 +01:00 committed by Vitaly Potyarkin
commit 9f2ca43677
4 changed files with 18 additions and 2 deletions

View file

@ -40,7 +40,7 @@
</header>
<div class="col-sm-8">
<h4 class="title">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i class="fas fa-link"></i>{% endif %}</a>
</h4>
<div class="content">
{{ article.summary|striptags }}