Put blog metadata into sidebar

This commit is contained in:
str4d
2015-05-30 00:22:40 +00:00
parent 068c60acb2
commit 526c56cd26
2 changed files with 8 additions and 3 deletions

View File

@@ -54,7 +54,7 @@
</div>
<main role="main" class="inner">
{% if self.content_nav() or self.lastupdated() or self.accuratefor() -%}
{% if self.content_nav() or self.sidebar() or self.lastupdated() or self.accuratefor() -%}
<aside class="sidebar">
{% if self.content_nav() -%}
<nav{% if self.lastupdated() or self.accuratefor() %} class="top"{% endif %}>
@@ -62,6 +62,8 @@
</nav>
{%- endif %}
{% block sidebar %}{% endblock %}
{% if self.lastupdated() or self.accuratefor() -%}
<div class="lastupdated">
<!--
@@ -86,7 +88,7 @@
</aside>
{%- endif %}
<article class="content-inner{% if self.content_nav() or self.lastupdated() or self.accuratefor() %} two-col{% endif %}">
<article class="content-inner{% if self.content_nav() or self.sidebar() or self.lastupdated() or self.accuratefor() %} two-col{% endif %}">
{% block content %}{% endblock %}
</article>
</main>