website/templates/docs-page.html
tezlm 3517c338e5
fix the rename
This reverts commit bb1dbee306.
2024-01-26 17:38:20 -08:00

20 lines
356 B
HTML

{% extends "base.html" %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block content %}
{% set section = get_section(path="docs/_index.md") %}
<nav>
<b>pages</b>
{% for page in section.pages %}
<a href="{{page.path}}">{{page.title}}</a>
{% endfor %}
</nav>
<main>
<h1>{{ page.title }}</h1>
{{ page.content | safe }}
</main>
{% endblock %}