hhl/templates/categories/single.html
Nathan Fisher d5be32d304 Ported a few more old blog posts
Fixed links in templates to point to gitea
2021-02-21 17:34:28 -05:00

34 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block content %}
<h1>Posts tagged "{{ term.name }}"</h1>
<ul>
{% for page in term.pages %}
<div class="card">
<a class = header href="{{ page.permalink | safe }}">
<strong>{{ page.title }}</strong>
</a>
{% if page.date %}
<div class="right">{{ page.date }}</div>
{% endif %}
{% if page.summary %}
<p>{{ page.summary | markdown(inline=true) | safe }}...</p>
{% endif %}
<a href="{{ page.permalink | safe }}">Read More -></a>
</div>
{% 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 %}