htmx/www/templates/posts.html
2025-11-10 12:47:21 -07:00

21 lines
429 B
HTML

{% extends "base.html" %}
{% block title %}
{% if section.title -%}
{% set html_title = "</> htmx ~ " ~ section.title -%}
{% endif -%}
{% set section = get_section(path="posts/_index.md") %}
{% endblock title %}
{% block content %}
<h1>Posts</h1>
<ul>
{% for page in section.pages %}
<li>
<a href="{{ page.permalink | safe }}">{{ page.title | safe }}</a>
</li>
{% endfor %}
</ul>
{% endblock content %}