_layouts/page.html in hamilton-0.1.2 vs _layouts/page.html in hamilton-0.2.0
- old
+ new
@@ -14,19 +14,10 @@
<div class="post-content">
{{ content }}
</div>
- {% if page.toc %}
- <aside class="post-aside">
- <div class="post-toc-container">
- <h2 class="post-toc-title">Table of Contents</h2>
- <nav class="post-toc">
- {% include toc.html html=content %}
- </nav>
- </div>
- </aside>
- {% endif %}
+ {%- include toc-aside.html -%}
</div>
</article>