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 c7d5931 commit f0abf9cCopy full SHA for f0abf9c
themes/vue/layout/partials/sidebar.ejs
@@ -3,7 +3,13 @@
3
<%- partial('partials/main_menu') %>
4
</ul>
5
<div class="list">
6
- <h2><%- type.charAt(0).toUpperCase() + type.slice(1) %></h2>
+ <% if (type === 'guide') { %>
7
+ <h2>ガイド</h2>
8
+ <% } else if (type === 'api') { %>
9
+ <h2>API</h2>
10
+ <% } else if (type === 'examples') { %>
11
+ <h2>例</h2>
12
+ <% } %>
13
<ul class="menu-root">
14
<% site.pages.find({type: type}).sort('order').each(function (p) { %>
15
<li><a href="/<%- p.path %>" class="sidebar-link<%- page.title === p.title ? ' current' : '' %>"><%- p.title %></a></li>
0 commit comments