New (old) design

This commit is contained in:
Felipe M 2021-02-14 20:16:02 +01:00
parent d06d3b2806
commit 96c9911a8c
Signed by: fmartingr
GPG key ID: 716BC147715E716F
16 changed files with 64 additions and 146 deletions

View file

@ -6,11 +6,11 @@
{% block main_content %}
<h2>Latest blog posts</h2>
{% for post in site.get('/blog').pagination.for_page(1).pagination.items %}
<article class="blog-post center">
<article class="blog-post">
<h3 class="title"><a href="{{ post|url }}">{{ post.title }}</a></h3>
<div class="info">{{ post.pub_date.strftime("%B %d, %Y") }}</div>
<div class="info text-small">{{ post.pub_date.strftime("%B %d, %Y") }}</div>
</article>
<hr />
{% if not loop.last %}<hr />{% endif %}
{% endfor %}
{{ this.body }}
{% endblock %}