mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 10:36:39 -07:00
add documentation
This commit is contained in:
parent
772764ea91
commit
15511adfdf
11 changed files with 588 additions and 0 deletions
20
site/templates/docs.tera
Normal file
20
site/templates/docs.tera
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% 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="styling", href="styling") }}
|
||||
{{ self::docLink(text="resources", href="resources") }}
|
||||
{{ self::docLink(text="webdog assumptions", href="wd-assumptions") }}
|
||||
</div>
|
||||
{{ page | safe }}
|
||||
{% endblock precontent %}
|
Loading…
Add table
Add a link
Reference in a new issue