Files
satware.ai/docs/overrides/partials/post-list.html
T
tfw 452455fe21 Update assets and sitemap, remove obsolete icons and fonts
Reorganized font and image assets, replacing outdated files with new ones. Removed unused SVG icons and updated the sitemap with new URLs and last modified dates. Simplified font-face declarations to reflect the updated font structure.
2025-05-06 16:28:26 +02:00

49 lines
1.7 KiB
HTML

{% if config.plugins.blog.post_url_format %}
<div class="md-posts">
{% for post in posts %}
<article class="md-post md-post--excerpt">
<header class="md-post__header">
{% if post.authors %}
<nav class="md-post__authors md-typeset">
{% for author in post.authors %}
<span class="md-author">
<img src="{{ author.avatar }}" alt="{{ author.name }}">
</span>
{% endfor %}
</nav>
{% endif %}
<div class="md-post__meta md-typeset">
<time datetime="{{ post.config.date.created }}">
{{ post.config.date.created | date }}
</time>
{% if post.categories %}
<span class="md-post__categories">
{% for category in post.categories %}
<a href="{{ category.url | url }}">{{ category.title }}</a>
{%- if not loop.last %}, {% endif -%}
{% endfor %}
</span>
{% endif %}
{% if post.config.readtime %}
<span>{{ post.config.readtime }} Min. Lesezeit</span>
{% endif %}
</div>
</header>
<div class="md-post__content md-typeset">
<h2>
<a href="{{ post.url | url }}">{{ post.config.title }}</a>
</h2>
<!-- Wir zeigen nur die Überschrift an, kein Excerpt oder weiterer Inhalt -->
<nav class="md-post__action">
<a href="{{ post.url | url }}" class="md-button">
Weiterlesen
</a>
</nav>
</div>
</article>
{% endfor %}
</div>
{% endif %}