Commit 7287b5ad authored by Björn Lindström's avatar Björn Lindström

Fixade taxonomi-list-sidor

* Eliminerade <div>-element
* Mer kompakt nu
* Korrekt titel för varje sida
parent 8470d608
Pipeline #62099492 passed with stage
in 1 minute and 26 seconds
......@@ -3,19 +3,17 @@
{% import "macros.html" as macros %}
{% block pageheader %}
{{ macros::page_header(title="Categories") }}
{{ macros::page_header(title="Författare") }}
{% endblock pageheader %}
{% block content %}
{% if terms %}
<div>
<p>
<ul>
{% for term in terms %}
<li>
<p><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</p>
</li>
<li><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</li>
{% endfor %}
</ul>
</div>
</p>
{% endif %}
{% endblock content %}
......@@ -3,19 +3,17 @@
{% import "macros.html" as macros %}
{% block pageheader %}
{{ macros::page_header(title="Categories") }}
{{ macros::page_header(title="Kategorier") }}
{% endblock pageheader %}
{% block content %}
{% if terms %}
<div>
<p>
<ul>
{% for term in terms %}
<li>
<p><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</p>
</li>
<li><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</li>
{% endfor %}
</ul>
</div>
</p>
{% endif %}
{% endblock content %}
......@@ -3,19 +3,17 @@
{% import "macros.html" as macros %}
{% block pageheader %}
{{ macros::page_header(title="Categories") }}
{{ macros::page_header(title="Taggar") }}
{% endblock pageheader %}
{% block content %}
{% if terms %}
<div>
<p>
<ul>
{% for term in terms %}
<li>
<p><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</p>
</li>
<li><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</li>
{% endfor %}
</ul>
</div>
</p>
{% endif %}
{% endblock content %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment