31 lines
932 B
HTML
31 lines
932 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h1>Posts tagged "{{ term.name }}"</h1>
|
|
<ul>
|
|
{% for page in term.pages %}
|
|
<li>
|
|
{% if page.date %}
|
|
{{ page.date }} --
|
|
{% endif %}
|
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
|
{% if page.summary %}
|
|
<br>{{ page.summary | markdown(inline=true) | safe }}...
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<hr>
|
|
<a href="{{ get_url(path="/news/") }}">News Home</a> |
|
|
<strong>Tags: </strong>
|
|
{% for t in config.taxonomies %}
|
|
{% if t.name == "tags" %}
|
|
{% set tags = get_taxonomy(kind=t.name) %}
|
|
{% for item in tags.items %}
|
|
{% set url = get_taxonomy_url(kind=tags.kind.name, name=item.name) %}
|
|
<a class="tags" href="{{ url }}">{{ item.name }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock content %}
|