mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Reordering side-panel sections
This commit is contained in:
parent
ea690c27e9
commit
64980dc579
@ -98,11 +98,14 @@
|
|||||||
|
|
||||||
<div class="uk-width-medium-1-5 uk-hidden-small">
|
<div class="uk-width-medium-1-5 uk-hidden-small">
|
||||||
|
|
||||||
{% if not DISABLE_SEARCH %}
|
{% if SOCIAL %}
|
||||||
<div class="uk-panel uk-panel-box">
|
<div class="uk-panel uk-panel-box">
|
||||||
<form class="uk-search" action="{{ SITEURL }}/search.html" data-uk-search>
|
<h3 class="uk-panel-title">Ubiquité</h3>
|
||||||
<input class="uk-search-field tipue_search" type="search" name="q" autocomplete="off" placeholder="Search...">
|
{% for icon, link in SOCIAL %}
|
||||||
</form>
|
<a class="mg-icon-link" href="{{ link }}">
|
||||||
|
<i class="uk-icon-{{ icon }} uk-icon-medium"></i>
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -114,15 +117,14 @@
|
|||||||
<li {% if cat == category %}class="uk-active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
<li {% if cat == category %}class="uk-active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DISPLAY_PAGES_ON_MENU != False %}
|
{% if DISPLAY_PAGES_ON_MENU != False %}
|
||||||
<li class="uk-nav-header">Pages</li>
|
<li class="uk-nav-header">Pages</li>
|
||||||
|
|
||||||
{% for p in pages %}
|
{% for p in pages %}
|
||||||
<li {% if p == page %}class="uk-active"{% endif %}>
|
<li {% if p == page %}class="uk-active"{% endif %}>
|
||||||
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if ARCHIVE_SAVE_AS %}
|
{% if ARCHIVE_SAVE_AS %}
|
||||||
@ -132,20 +134,19 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</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">
|
<div class="uk-panel uk-panel-box">
|
||||||
<h3 class="uk-panel-title">Receive Updates</h3>
|
<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>
|
<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>
|
</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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if LINKS %}
|
{% if LINKS %}
|
||||||
|
Loading…
Reference in New Issue
Block a user