1{% extends "base.html" %}2
3{% block content %}4<h1>{{ section.title }}</h1>5{{ section.content | safe }}6
7{% set posts = get_section(path="posts/_index.md") %}8{% if posts.pages %}9<h2>posts</h2>10<ul class="post-list">11 {% for page in posts.pages %}12 <li>13 <a href="{{ page.permalink }}">{{ page.title }}</a>14 <span class="date">{{ page.date | date(format="%Y-%m-%d") }}</span>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 8d5d8c2
message edit index.html via macOS
author anton
date Apr 19, 2026
size 687 B