URL fixes
This commit is contained in:
parent
9ecdc007d9
commit
66a52435d1
10 changed files with 16 additions and 44 deletions
|
|
@ -1,22 +1,9 @@
|
|||
`# lang: {{ DEFAULT_LANG }}
|
||||
# lang: {{ DEFAULT_LANG }}
|
||||
{% block head %}
|
||||
>{% block title %}{{ SITENAME }}{% endblock title %}
|
||||
> {% 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 %}
|
||||
{% 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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue