34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
|
{% extends "base.html" %} {% block meta %} {% set title = "Posts" %} {% set
|
||
|
description = "The LibrePages Blog: we write about static-sites deployment, Free Software and the
|
||
|
general development 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 %}
|