Adding optional LINKS & SUPPORTS in base.html

This commit is contained in:
Lucas Cimon
2017-08-10 02:00:49 +02:00
parent 484a5ad227
commit 173712c666
2 changed files with 40 additions and 1 deletions

View File

@@ -137,6 +137,27 @@
</div>
{% endif %}
{% if LINKS %}
<div class="uk-panel uk-panel-box">
<h3 class="uk-panel-title">Blogroll</h3>
<ul class="uk-nav uk-nav-side">
{% for text, url in LINKS %}
<li><a href="{{ url }}">{{ text }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if SUPPORTS %}
<div class="uk-panel uk-panel-box">
{% 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 %}
</div>
{% endif %}
</div>
</div>