From ef15a6ec8f14c2398cfd28786c83072888690718 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic <steven.lerouzic@gmail.com> Date: Tue, 31 Oct 2023 23:23:51 +0100 Subject: oijoij --- templates/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/index.html (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f8df5f9 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,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 %} + -- cgit