Reordering side-panel sections

This commit is contained in:
Lucas Cimon 2017-08-15 15:26:47 +02:00
parent ea690c27e9
commit 64980dc579

View File

@ -98,11 +98,14 @@
<div class="uk-width-medium-1-5 uk-hidden-small">
{% if not DISABLE_SEARCH %}
{% if SOCIAL %}
<div class="uk-panel uk-panel-box">
<form class="uk-search" action="{{ SITEURL }}/search.html" data-uk-search>
<input class="uk-search-field tipue_search" type="search" name="q" autocomplete="off" placeholder="Search...">
</form>
<h3 class="uk-panel-title">Ubiquité</h3>
{% for icon, link in SOCIAL %}
<a class="mg-icon-link" href="{{ link }}">
<i class="uk-icon-{{ icon }} uk-icon-medium"></i>
</a>
{% endfor %}
</div>
{% endif %}
@ -114,15 +117,14 @@
<li {% if cat == category %}class="uk-active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
{% endif %}
{% if DISPLAY_PAGES_ON_MENU != False %}
<li class="uk-nav-header">Pages</li>
{% for p in pages %}
<li {% if p == page %}class="uk-active"{% endif %}>
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
</li>
{% endfor %}
{% endif %}
{% if ARCHIVE_SAVE_AS %}
@ -132,20 +134,19 @@
</ul>
</div>
{% if not DISABLE_SEARCH %}
<div class="uk-panel uk-panel-box">
<form class="uk-search" action="{{ SITEURL }}/search.html" data-uk-search>
<input class="uk-search-field tipue_search" type="search" name="q" autocomplete="off" placeholder="Search...">
</form>
</div>
{% endif %}
{% if FEED_ALL_ATOM %}
<div class="uk-panel uk-panel-box">
<h3 class="uk-panel-title">Receive Updates</h3>
<a rel="alternate" type="application/atom+xml" href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> ATOM</a>
</div>
{% if SOCIAL %}
<div class="uk-panel uk-panel-box">
<h3 class="uk-panel-title">Contacts</h3>
{% for icon, link in SOCIAL %}
<a class="mg-icon-link" href="{{ link }}">
<i class="uk-icon-{{ icon }} uk-icon-medium"></i>
</a>
{% endfor %}
</div>
{% endif %}
{% if LINKS %}