Style fixes for when sidebar has no or partial content

This commit is contained in:
str4d
2015-05-29 22:18:02 +00:00
parent 1a29aeac54
commit c00f7739ff
3 changed files with 7 additions and 5 deletions

View File

@@ -54,9 +54,10 @@
</div>
<main role="main" class="inner">
{% if self.content_nav() or self.lastupdated() or self.accuratefor() -%}
<aside class="sidebar">
{% if self.content_nav() -%}
<nav>
<nav{% if self.lastupdated() or self.accuratefor() %} class="top"{% endif %}>
{% block content_nav %}{% endblock %}
</nav>
{%- endif %}
@@ -83,8 +84,9 @@
</div>
{%- endif %}
</aside>
{%- endif %}
<article class="content-inner">
<article class="content-inner{% if self.content_nav() or self.lastupdated() or self.accuratefor() %} two-col{% endif %}">
{% block content %}{% endblock %}
</article>
</main>