Add docs nav and side nav
[web.git] / _layouts / default.html
index ae683d782772e3d02bf4b12d86278d99d3781477..bbe3f6179549a4fa0080bb3f4c0f32aa76106ffb 100644 (file)
     <!-- Sidebar -->
 
     <aside class="large-3 columns">
-
-        <h4>Posts</h4>
-        <ul id="posts" class="posts nav">
-            {% for post in site.posts limit: 5 %}
-            <li><a href=".{{ post.url }}">{{ post.shortTitle }}</a></li>
-            {% endfor %}
-        </ul>
-
-        <div class="panel">
-            <h5>Featured</h5>
-
-            <p>Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon
-                nulla pork belly cupidatat meatloaf cow.</p>
-        </div>
-
+        {% if page.url contains '/docs/' %}
+            {% include docs_nav.html %}
+        {% else %}
+            {% include side_nav.html %}
+        {% endif %}
     </aside>
 
     <!-- End Sidebar -->