adding key image support

This commit is contained in:
evilchili
2022-08-04 21:34:47 -07:00
parent 468d9dedf0
commit 49971ae270
12 changed files with 111 additions and 46 deletions
@@ -1,12 +1,11 @@
{% extends "base.html" %}
{% import "macros.html" as macros %}
{% block title %}{{ article.title|capitalize }} - {{SITENAME}}{% endblock title %}
{% block key_image %}{{ macros.key_image(article) }}{% endblock key_image %}
{% block content %}
<section id="content">
<div class='box curled'>
<h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
<hr>
<div class='byline'>
<span class='date'>{{ article.locale_date }}</span>&nbsp;{% if article.tags %}{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% endfor %}{% endif %}
@@ -18,5 +17,5 @@
<hr>
{% include "bottom-nav.html" %}
</div>
</section>
{% endblock %}
</section>
{% endblock content %}