Merge pull request #39 from barryorourke/wrap_aside_elements

wrap aside elements in order to minimise empty space if they are unde…
This commit is contained in:
Alexandre Vicenzi 2016-05-06 00:20:05 -03:00
commit 8e5c3c2591

View file

@ -66,7 +66,8 @@
{% endif %} {% endif %}
</a> </a>
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1> <h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
<p>{{ SITESUBTITLE }}</p> {% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
{% if pages or LINKS %}
<nav> <nav>
<ul class="list"> <ul class="list">
{% for page in pages|sort(attribute='title') %} {% for page in pages|sort(attribute='title') %}
@ -77,6 +78,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</nav> </nav>
{% endif %}
<ul class="social"> <ul class="social">
{% for name, link in SOCIAL %} {% for name, link in SOCIAL %}
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"><i class="fa fa-{{ name }}"></i></a></li> <li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"><i class="fa fa-{{ name }}"></i></a></li>