feat: ✨ add new Post wrapper and Blog overview page
This commit is contained in:
parent
b420a6eafa
commit
a2c6842b71
8 changed files with 384 additions and 6 deletions
23
www/templates/fragments/article_blop.html
Normal file
23
www/templates/fragments/article_blop.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue