mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-11 20:07:22 +00:00
* alt text for the atom feed link is atom, not rss * show all categories/authors on blog category/author lists * add icon and clearer text to taxonomy feeds * only link to ~~more~~ all posts when there are more * update matrix conf blog entry tags ref #2661 * unify Neil (Johnson) blog author * add proper taxonomy plurals * sort blog post categories when displaying * fix old blog posts * update Matrix Conf blog post categories ref #2661 * categorize and update holiday specials * categorize and update FOSDEM blog posts * update some blog post categories * switch blog date format to YYYY-MM-DD * add dates to category/author list view * don't show time on blog posts Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com> --------- Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
45 lines
1.7 KiB
HTML
45 lines
1.7 KiB
HTML
{% extends "section.html" %}
|
|
{% import "macros/banner.html" as banner %}
|
|
{% block content -%}
|
|
{{ banner::banner() }}
|
|
<div class="content">
|
|
{% for page in paginator.pages %}
|
|
<article class="post">
|
|
<header>
|
|
<h1><a href="{{ page.permalink }}" title="{{ page.title }}">{{ page.title }}</a></h1>
|
|
<span>
|
|
{{ page.date | date(format="%Y-%m-%d") }}
|
|
{% if page.taxonomies.category -%}
|
|
—
|
|
{% for category in page.taxonomies.category | sort %}
|
|
<a href="/category/{{ category | slugify }}">
|
|
{{- category -}}
|
|
</a>
|
|
{%- if not loop.last %}, {% endif %}{% endfor %}
|
|
{% endif %}
|
|
—
|
|
{% for author in page.taxonomies.author %}
|
|
<a href="/author/{{ author | default(value=['unknown author']) | slugify }}">
|
|
{{- author | default(value=["unknown author"]) -}}
|
|
</a>
|
|
{%- if not loop.last %}, {% endif %}
|
|
{% endfor %}
|
|
</span>
|
|
{% if page.updated -%}
|
|
<br>
|
|
<small>Last update: {{ page.updated | date(format="%Y-%m-%d %H:%M") }}</small>
|
|
{%- endif %}
|
|
</header>
|
|
<div>
|
|
{% if page.summary -%}
|
|
{{ page.summary | safe }}
|
|
<p><a href="{{ page.path | safe }}#continue-reading">Continue reading…</a></p>
|
|
{% else -%}
|
|
{{ page.content | safe }}
|
|
{%- endif %}
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|
|
{% include "includes/pagination.html" %}
|
|
</div>
|
|
{%- endblock content %}
|