@@ -10,7 +10,7 @@
</select>
</h2>
<ul class="menu-root">
- <% type !== 'api' && site.pages.find({type: type}).sort('order').each(function (p) { %>
+ <% site.pages.find({type: type}).sort('order').each(function (p) { %>
<li>
<a href="/<%- p.path %>" class="sidebar-link<%- page.title === p.title ? ' current' : '' %><%- p.is_new ? ' new' : '' %>"><%- p.title %></a>
</li>
@@ -26,7 +26,7 @@
if (currentPageAnchor || isAPI) {
var allLinks = []
var sectionContainer
- if (isAPI) {
+ if (false && isAPI) {
sectionContainer = document.querySelector('.menu-root')
} else {
sectionContainer = document.createElement('ul')
@@ -161,7 +161,7 @@
}
// Search with SwiftType
-
+
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);