Consistent content positioning

This commit is contained in:
str4d
2015-05-31 01:07:41 +00:00
parent b889b7c861
commit b0a6ddd870
3 changed files with 18 additions and 19 deletions

View File

@@ -53,7 +53,8 @@
<h1>{{ self.title() }}</h1>
</div>
<main role="main" class="inner{% if self.content_nav() or self.sidebar() or self.lastupdated() or self.accuratefor() %} two-col{% endif %}">
<main role="main" class="inner">
<div class="fluid">
{% if self.content_nav() or self.sidebar() or self.lastupdated() or self.accuratefor() -%}
<aside class="sidebar">
{% if self.content_nav() -%}
@@ -88,9 +89,10 @@
</aside>
{%- endif %}
<article class="content-inner{% if self.content_nav() or self.sidebar() or self.lastupdated() or self.accuratefor() %} two-col{% endif %}">
<article class="content-inner">
{% block content %}{% endblock %}
</article>
</div>
</main>
{% endblock %}
</div>