summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: f8df5f97728233a441893c627b1a3771a3b6e408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% 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 %}