diff options
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 %}
+
|