website/templates/blog/index.html

35 lines
1.7 KiB
HTML

{% extends "base.html" %} {% block meta %}
{% set title = "Posts" %}
{% set description = "The Gna! Blog: we write about Gitea, Free Software and the general forge ecosystem" %}
{{ macros::get_meta_tags(title=title, description=description) }}
{% endblock meta %} {% block content %}
<div class="blog__container">
<h1 class="blog__title">{{ section.title }}</h1>
<p>Gna! is a <a href="https://gna.org/gitea-clinic">Clinic</a> to get help when a Gitea instance throws errors after an upgrade and the admin is not sure how to troubleshoot the problem. It opened in May 2022 and welcomes new patients. It will also provide dedicated Gitea hosting, including CI and more: subscribe <a href="https://hostea.org/blog/atom.xml">to the blog</a> or the <a rel="me" href="https://mastodon.online/@hostea">Mastodon account</a> to keep up to date.</p>
<ul class="blog__list">
{% for page in section.pages %}
<li class="blog__post-item">
<a href="{{ page.permalink | safe }}" class="blog__post-link">
<h2 class="blog__post-title">{{ page.title }}</h2>
{% include "blog/_meta.html" %}
<p class="blog__post-description">{{ page.description | safe }} </p>
</a>
<div class="blog__post-tag-container">
{% for t in page.taxonomies.tags %}
<a class="blog__post-tag" href="/tags/{{t | slugify }}">#{{ t }}</a>
{% endfor %}
</div>
</li>
{% endfor %}
</ul>
</div>
{% block rss %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
{% endblock %}
{% endblock content %}