Port the entries-by-kind feed over to Jinja2, wasn't too tricky c:

This commit is contained in:
Danielle McLean 2018-06-19 16:46:54 +10:00
parent fca5b3259d
commit 5042f3bda7
Signed by: 00dani
GPG Key ID: 8EB789DDF3ABD240
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{% extends 'lemoncurry/layout.html' %}
{% block html_attr %}
class="h-feed"{{ super() }}
{%- endblock %}
{% block styles %}
<link rel="stylesheet" type="text/stylus" href="{{ static('entries/css/h-entry.styl') }}" />
{% endblock %}
{% import 'entries/h-entry.html' as h %}
{% block main %}
<ol class="list-unstyled entries">
{% for entry in entries %}
<li>
{{ h.hEntry(entry, indent_width=10) }}
</li>
{% endfor %}
</ol>
{% endblock %}