init
This commit is contained in:
commit
78c3dc9737
36 changed files with 1126 additions and 0 deletions
26
theme/templates/base.mu
Normal file
26
theme/templates/base.mu
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
`# lang: {{ DEFAULT_LANG }}
|
||||
{% block head %}
|
||||
>{% block title %}{{ SITENAME }}{% endblock title %}
|
||||
{% endblock head %}
|
||||
|
||||
{% for title, link in MENUITEMS %}
|
||||
`[{{ title }}`{{ link }}]
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
{% for p in PAGES %}
|
||||
`[{{ p.title }}`/{{ p.url }}]
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{% if DISPLAY_CATEGORIES_ON_MENU %}
|
||||
{% for cat, null in categories %}
|
||||
`[{% if cat == category %}`_{% endif %}{{ cat }}{% if cat == category %}`_{% endif %}`/{{ cat.url }}]
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
||||
{% if DESCRIPTION %}
|
||||
{{ DESCRIPTION }}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue