27 lines
741 B
HTML
27 lines
741 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h1 class="title">
|
|
{{ section.title }}
|
|
</h1>
|
|
|
|
<p class="larger">sort by <a href="/tags">tags</a>.</p>
|
|
|
|
<ul>
|
|
<!-- If you are using pagination, section.pages will be empty.
|
|
You need to use the paginator object -->
|
|
{% for page in section.pages %}
|
|
<li>
|
|
<a href="{{ page.permalink | safe }}">{{ page.title }}</a> - by {{ page.authors }}
|
|
<br>
|
|
{{ page.description }}
|
|
<br>
|
|
written: {{ page.date }}
|
|
<br>
|
|
tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %}
|
|
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
|
|
{% endfor -%}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock content %}
|