website/templates/index.html
2026-05-03 00:18:21 +01:00

21 lines
626 B
HTML

{% extends "base.html" %}
{% block title %}{{ config.title }}{% endblock %}
{% block content %}
<p>This site was once more complicated, but I've stripped it down to bare essentials.</p>
{% set blog = get_section(path="blog/_index.md") %}
{% for post in blog.pages %}
<span class="muted">{{ post.date }}</span>&emsp;<a href="{{ post.permalink }}">{{ post.title }}</a><br>
{% endfor %}
<h2>Reading</h2>
{% set reading = get_section(path="read/_index.md") %}
{% for post in reading.pages %}
<span class="muted">{{ post.date}}</span>&emsp;<a href="{{ post.permalink }}">{{ post.title }}</a><br>
{% endfor %}
{% endblock %}