First pass at redesigning content layout

This commit is contained in:
str4d
2015-05-29 16:05:36 +00:00
parent 32c73d0672
commit 13b38463ab
4 changed files with 79 additions and 48 deletions

View File

@@ -49,7 +49,18 @@
<div class="container-fluid{% if not self.content() %} well{% endif %}">
<div id="content">
{% block content_outer %}
<article class="inner">
<div class="title">
<h1>{{ self.title() }}</h1>
</div>
<main role="main" class="inner">
<aside class="sidebar">
{% if self.content_nav() -%}
<nav>
{% block content_nav %}{% endblock %}
</nav>
{%- endif %}
{% if self.lastupdated() or self.accuratefor() -%}
<div class="lastupdated">
<!--
@@ -71,12 +82,12 @@
{%- endif %}{% endif %}{% endif %}
</div>
{%- endif %}
</aside>
<div class="title">
<h1>{{ self.title() }}</h1>
</div>
{% block content %}{% endblock %}
</article>
<article class="content-inner">
{% block content %}{% endblock %}
</article>
</main>
{% endblock %}
</div>
<footer id="global-footer">