mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Indent jinja code blocks, allow editors to collapse regions
This commit is contained in:
parent
4aee394acb
commit
75a023e04c
16 changed files with 253 additions and 249 deletions
|
|
@ -1,20 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Categories {{ super() }}
|
||||
Categories {{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
Categories
|
||||
Categories
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
{% for category, articles in categories|sort %}
|
||||
<tr>
|
||||
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
||||
<td>{{ articles|count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<table class="table table-bordered table-striped">
|
||||
{% for category, articles in categories|sort %}
|
||||
<tr>
|
||||
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
||||
<td>{{ articles|count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue