Indent jinja code blocks, allow editors to collapse regions

main
Raymond Wanyoike 2017-11-21 11:17:33 +03:00
parent 4aee394acb
commit 75a023e04c
16 changed files with 253 additions and 249 deletions

View File

@ -9,7 +9,7 @@ Authors
{% endblock %}
{% block content %}
<table class="table table-bordered table-striped table-hover">
<table class="table table-bordered table-striped">
{% for author, articles in authors|sort %}
<tr>
<td><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></td>

View File

@ -9,7 +9,7 @@ Categories
{% endblock %}
{% block content %}
<table class="table table-bordered table-striped table-hover">
<table class="table table-bordered table-striped">
{% for category, articles in categories|sort %}
<tr>
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>

View File

@ -15,6 +15,7 @@
ga('send', 'pageview');
</script>
{% endif %}
{% if GAUGES %}
<script>
var _gauges = _gauges || [];
@ -30,6 +31,7 @@
})();
</script>
{% endif %}
{% if PIWIK_URL and PIWIK_SITE_ID %}
<script>
var _paq = _paq || [];

View File

@ -39,7 +39,9 @@ Articles
</ul>
</header>
<div class="col-sm-8">
<h4 class="title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h4>
<h4 class="title">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</h4>
<div class="content">
{{ article.summary|striptags }}
</div>

View File

@ -9,7 +9,7 @@ Tags
{% endblock %}
{% block content %}
<table class="table table-bordered table-striped table-hover">
<table class="table table-bordered table-striped">
{% for tag, articles in tags|sort %}
<tr>
<td><a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a></td>