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
|
|
@ -9,7 +9,7 @@ Authors
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<table class="table table-bordered table-striped table-hover">
|
<table class="table table-bordered table-striped">
|
||||||
{% for author, articles in authors|sort %}
|
{% for author, articles in authors|sort %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></td>
|
<td><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></td>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Categories
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<table class="table table-bordered table-striped table-hover">
|
<table class="table table-bordered table-striped">
|
||||||
{% for category, articles in categories|sort %}
|
{% for category, articles in categories|sort %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if GAUGES %}
|
{% if GAUGES %}
|
||||||
<script>
|
<script>
|
||||||
var _gauges = _gauges || [];
|
var _gauges = _gauges || [];
|
||||||
|
|
@ -30,6 +31,7 @@
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if PIWIK_URL and PIWIK_SITE_ID %}
|
{% if PIWIK_URL and PIWIK_SITE_ID %}
|
||||||
<script>
|
<script>
|
||||||
var _paq = _paq || [];
|
var _paq = _paq || [];
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,9 @@ Articles
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
<div class="col-sm-8">
|
<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">
|
<div class="content">
|
||||||
{{ article.summary|striptags }}
|
{{ article.summary|striptags }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Tags
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<table class="table table-bordered table-striped table-hover">
|
<table class="table table-bordered table-striped">
|
||||||
{% for tag, articles in tags|sort %}
|
{% for tag, articles in tags|sort %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a></td>
|
<td><a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a></td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue