mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-07-14 16:28:13 +00:00
Add migration to fix typo Add support for linking hashtags with posts Rework tag search page so it says a nicer message than page not found when no post use that tag Add new string to translation
24 lines
649 B
Plaintext
24 lines
649 B
Plaintext
{% extends "base" %}
|
|
{% import "macros" as macros %}
|
|
|
|
{% block title %}
|
|
{{ 'Articles tagged "{{ tag }}"' | _(tag=tag) }}
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1>{{ 'Articles tagged "{{ tag }}"' | _(tag=tag) }}</h1>
|
|
|
|
{% if articles| length != 0 %}
|
|
<div class="cards">
|
|
{% for article in articles %}
|
|
{{ macros::post_card(article=article) }}
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<section>
|
|
<h2>{{ "There is currently no article with that tag" | _ }}</h2>
|
|
</section>
|
|
{% endif %}
|
|
{{ macros::paginate(page=page, total=n_pages) }}
|
|
{% endblock content %}
|