feat: add new Post wrapper and Blog overview page

This commit is contained in:
David Bailey 2024-01-25 15:40:32 +01:00
parent b420a6eafa
commit a2c6842b71
8 changed files with 384 additions and 6 deletions

View file

@ -0,0 +1,23 @@
<a href="{{post.url}}">
<div class="article_blop">
<div class="article_blop_bg" style="background-image:url({{post.preview_image}});"></div>
<div class="article_blop_content">
<h1 class="article_blop_title">
{{post.title}}
</h1>
<ul class="article_blop_tags">
{% for tag in post.tags %}
<li> {{ tag }} </li>
{% endfor %}
</ul>
<span class="article_blop_excerpt">
{{post.excerpt}}
</span>
</div>
</div>
</a>