1{% extends "base.html" %}2
3{% block title %}{{ section.title }} | {{ config.title }}{% endblock %}4
5{% block content %}6<h1>{{ section.title }}</h1>7{{ section.content | safe }}8
9{% if section.pages %}10<ul class="post-list">11 {% for page in section.pages %}12 <li>13 <a href="{{ page.permalink }}">{{ page.title }}</a>14 {% if page.date %}<span class="date">{{ page.date | date(format="%Y-%m-%d") }}</span>{% endif %}15 {% if page.taxonomies.tags is defined %}16 <span class="post-tags">17 {% for tag in page.taxonomies.tags %}18 <a href="{{ config.base_url }}tags/{{ tag }}/" class="tag">#{{ tag }}</a>19 {% endfor %}20 </span>21 {% endif %}22 </li>23 {% endfor %}24</ul>25{% endif %}26{% endblock %} v2
commit ffdb96e
message edit section.html via macOS
author anton
date Apr 19, 2026
size 724 B