diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2023-10-31 23:23:51 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2023-10-31 23:23:51 +0100 |
commit | ef15a6ec8f14c2398cfd28786c83072888690718 (patch) | |
tree | 824ada8072ac1e0ee4870989679cf5deb7d99bd1 /templates/index.html |
oijoij
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 14 |
1 files changed, 14 insertions, 0 deletions
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 %}
+
|