webdog/site/templates/docs.tera
zyl 1d502881f6
Some checks are pending
Build Site / build (push) Waiting to run
Build Site / deploy (push) Blocked by required conditions
add support for custom partials
2025-01-14 13:30:34 -08:00

21 lines
787 B
Text

{% extends "base.tera" %}
{% macro docLink(text, href, first=false) %}
{% if not first %}• {% endif %}
<a href="/docs/{{href}}">{{ text }}</a>
{% endmacro docLink %}
{% block content %}
<div class="docs-links">
{{ self::docLink(text="docs", href="", first=true) }}
{{ self::docLink(text="commands", href="commands") }}
{{ self::docLink(text="configuration", href="config") }}
{{ self::docLink(text="pages", href="pages") }}
{{ self::docLink(text="templates", href="templates") }}
{{ self::docLink(text="webdog html", href="webdog-html") }}
{{ self::docLink(text="styling", href="styling") }}
{{ self::docLink(text="resources", href="resources") }}
{{ self::docLink(text="webdog assumptions", href="wd-assumptions") }}
</div>
{{ page | safe }}
{% endblock precontent %}