We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045214e commit d7b0e2dCopy full SHA for d7b0e2d
themes/vue/layout/page.ejs
@@ -1,5 +1,11 @@
1
<% if (page.type) { %>
2
<%- partial('partials/sidebar', { type: page.type, index: page.index }) %>
3
+<% } else { %>
4
+ <div class="sidebar">
5
+ <ul class="main-menu">
6
+ <%- partial('partials/main_menu', { context: 'sidebar' }) %>
7
+ </ul>
8
+ </div>
9
<% } %>
10
<div class="content <%- page.type ? page.type + ' with-sidebar' : '' %> <%- page.type === 'guide' ? page.path.replace(/.+\//, '').replace('.html', '') + '-guide' : '' %>">
11
<%- partial('partials/ad') %>
0 commit comments