mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Fixes in mobile view
This commit is contained in:
parent
173712c666
commit
448380cf92
@ -188,7 +188,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<div id="mg-offcanvas" class="uk-offcanvas">
|
<aside id="mg-offcanvas" class="uk-offcanvas">
|
||||||
<div class="uk-offcanvas-bar">
|
<div class="uk-offcanvas-bar">
|
||||||
|
|
||||||
{% if not DISABLE_SEARCH %}
|
{% if not DISABLE_SEARCH %}
|
||||||
@ -198,10 +198,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<ul class="uk-nav uk-nav-offcanvas" data-uk-nav>
|
<ul class="uk-nav uk-nav-offcanvas" data-uk-nav>
|
||||||
|
{% if CATEGORY_SAVE_AS %}
|
||||||
<li class="uk-nav-header">Categories</li>
|
<li class="uk-nav-header">Categories</li>
|
||||||
{% for cat, _ in categories %}
|
{% for cat, _ in categories %}
|
||||||
<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 %}
|
||||||
|
|
||||||
{% 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 %}
|
||||||
@ -209,14 +212,32 @@
|
|||||||
<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 %}
|
||||||
<li class="uk-nav-divider"></li>
|
<li class="uk-nav-divider"></li>
|
||||||
<li><a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Archives</a></li>
|
<li><a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Archives</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if LINKS %}
|
||||||
|
<li class="uk-nav-divider"></li>
|
||||||
|
<li class="uk-nav-header">Blogroll</li>
|
||||||
|
{% for text, url in LINKS %}
|
||||||
|
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if SUPPORTS %}
|
||||||
|
<li class="uk-nav-divider"></li>
|
||||||
|
{% for name, link, logo_url, title in SUPPORTS %}
|
||||||
|
<a href="{{ link }}">
|
||||||
|
<img class="mg-support-logo" src="{{ logo_url }}" alt="Logo {{ name }}" title="{{ title }}">
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</aside>
|
||||||
|
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||||
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
|
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user