pizzawednes.day/templates/index.html

21 lines
393 B
HTML

{% extends "base.html" %}
{% block content %}
{{ section.content | safe }}
<h1>Latest</h1>
{% set feed_section = get_section(path="feed/_index.md") %}
{% for page in feed_section.pages %}
<a href="{{ page.permalink }}">
<div>
<h2>{{ page.title }}</h2>
<div>{{ page.date }}</div>
<p>{{ page.content | striptags | truncate(length=255) }}</p>
</div>
</a>
{% endfor %}
{% endblock %}