Indent jinja code blocks, allow editors to collapse regions

This commit is contained in:
Raymond Wanyoike 2017-11-21 11:17:33 +03:00
commit 75a023e04c
16 changed files with 253 additions and 249 deletions

View file

@ -1,20 +1,20 @@
{% extends "base.html" %}
{% block title %}
Authors {{ super() }}
Authors {{ super() }}
{% endblock %}
{% block page_header %}
Authors
Authors
{% endblock %}
{% block content %}
<table class="table table-bordered table-striped table-hover">
{% for author, articles in authors|sort %}
<tr>
<td><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></td>
<td>{{ articles|count }}</td>
</tr>
{% endfor %}
</table>
<table class="table table-bordered table-striped">
{% for author, articles in authors|sort %}
<tr>
<td><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></td>
<td>{{ articles|count }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}