Web/_includes/post.html

14 lines
688 B
HTML
Raw Normal View History

2024-06-14 17:49:53 +02:00
<div class="card bg-light blog-entry rounded-0 {% for tag in include.post.tags %} blog-tag-{{ tag | slugify }} {% endfor %}">
<div class="card-body">
<span class="blog-meta text-muted">{{ include.post.tags | join: ", " }}<br>{{ include.post.date | date_to_string }}</span>
<h4 class="card-title"><a class="title-button" href="{{ include.post.url }}">{{ include.post.title }}</a></h4>
2024-07-20 23:29:20 +02:00
<div class="card-text">
{{ include.post.description }}
{% if include.post.mature %}
<p style="margin-top: 0.5rem; margin-bottom: 0">⚠️ This post contains mature content.</p>
{% endif %}
</div>
2024-06-14 17:49:53 +02:00
</div>
</div>