wrap aside elements in order to minimise empty space if they are undefinded
This commit is contained in:
parent
b72e9e5536
commit
5298bdbede
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,8 @@
|
|||
{% endif %}
|
||||
</a>
|
||||
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
|
||||
<p>{{ SITESUBTITLE }}</p>
|
||||
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
||||
{% if pages %}
|
||||
<nav>
|
||||
<ul class="list">
|
||||
{% for page in pages|sort(attribute='title') %}
|
||||
|
@ -77,6 +78,7 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
<ul class="social">
|
||||
{% for name, link in SOCIAL %}
|
||||
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"><i class="fa fa-{{ name }}"></i></a></li>
|
||||
|
|
Loading…
Reference in a new issue