32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
{% extends "base.html" %} {% block meta %}
|
|
|
|
{% set title = "Posts" %}
|
|
{% set description = "The Hostea 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>
|
|
<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 %}
|