forked from I2P_Developers/i2p.www
First pass at redesigning content layout
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user