fix indentation themes/simple/templates/base.html

This commit is contained in:
Trent Palmer 2021-08-05 01:55:27 -07:00
parent af691fa1cb
commit 1887a6c540

View File

@ -62,38 +62,37 @@
<ul class="pure-menu-list"> <ul class="pure-menu-list">
{% for title, link in MENUITEMS %} {% for title, link in MENUITEMS %}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a href="{{ link }}" class="pure-menu-link">{{ title }}</a> <a href="{{ link }}" class="pure-menu-link">{{ title }}</a>
</li> </li>
{% endfor %} {% endfor %}
{% if DISPLAY_PAGES_ON_MENU %} {% if DISPLAY_PAGES_ON_MENU %}
{% for p in pages %} {% for p in pages %}
{% if p == page %} {% if p == page %}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" style="color: #343a40;" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> <a class="pure-menu-link" style="color: #343a40;" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
</li> </li>
{% else %} {% else %}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> <a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if DISPLAY_CATEGORIES_ON_MENU %} {% if DISPLAY_CATEGORIES_ON_MENU %}
{% for cat, null in categories %} {% for cat, null in categories %}
{% if cat == category %} {% if cat == category %}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" style="color: #343a40;" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a> <a class="pure-menu-link" style="color: #343a40;" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>
</li> </li>
{% else %} {% else %}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a> <a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>
</li> </li>
{% endif %} {% endif %}
{% endfor %}
{% endfor %}
{% endif %} {% endif %}
</ul> </ul>