Reorganise footer links

This commit is contained in:
pratu16x7 2016-11-05 15:48:50 +05:30
parent 51fa272e4f
commit edf4fcb522
4 changed files with 12 additions and 5 deletions

View file

@ -827,6 +827,9 @@ a.active {
.content-header {
padding-bottom: 20px;
}
.footer-group {
margin-bottom: 28px;
}
.footer-group-label {
display: inline-block;
font-size: 11px;

View file

@ -554,6 +554,10 @@ a.active {
padding-bottom:20px;
}
.footer-group {
margin-bottom: 28px;
}
.footer-group-label {
display:inline-block;
font-size: 11px;

View file

@ -5,11 +5,9 @@
<div class="col-sm-6 text-left">
<div class="row">
{% if footer_items -%}
<div class="col-sm-3">
<ul class="list-unstyled navbar-nav">
{% include "templates/includes/footer/footer_items.html" %}
</ul>
</div>
<ul class="list-unstyled navbar-nav col-sm-12">
{% include "templates/includes/footer/footer_items.html" %}
</ul>
{% endif %}
</div>
</div>

View file

@ -1,4 +1,5 @@
{% for page in footer_items %}
<div class="col-sm-4 footer-group">
{% if not page.parent_label -%}
<li data-label='{{ page.label }}'>
<a {% if not page.child_items -%} href="{{ (page.url or '')|abs_url }}" {%- endif %}
@ -21,5 +22,6 @@
{%- endif -%}
</li>
{%- endif -%}
</div>
{% endfor %}