Files
stevenlr.com/templates/index.html
2023-10-31 23:23:51 +01:00

15 lines
393 B
HTML

{% extends "base.html" %}
{% block content %}
{% set blog_section = get_section(path="blog/_index.md") %}
<ul>
{% for post in blog_section.pages | slice(end=3) %}
<li><a href="{{ post.permalink | safe }}">{{ post.title }}</a> - {{ post.date | date(format="%B %-d, %Y") }}</li>
<div class="typography">{{ post.summary | safe }}</div>
{% endfor %}
</ul>
{% endblock %}