Port the entries-by-kind feed over to Jinja2, wasn't too tricky c:
This commit is contained in:
parent
fca5b3259d
commit
5042f3bda7
1 changed files with 20 additions and 0 deletions
20
entries/jinja2/entries/index.html
Normal file
20
entries/jinja2/entries/index.html
Normal 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 %}
|
Loading…
Reference in a new issue