Skip to content

Commit

Permalink
fix(isolation): pages list won't show on info
Browse files Browse the repository at this point in the history
fix(isolation): pages list won't show on info
  • Loading branch information
cubesky authored Apr 9, 2017
2 parents ed6777d + 8e768b9 commit ec1660e
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions layout/_partial/isolate_info.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@
</span>

<p class="header-slogan header-item">
<%= theme.uiux.slogan %>
<% if(theme.uiux.slogan) { %>
<% if(Array.isArray(theme.uiux.slogan)) { %>
<%- theme.uiux.slogan.join('<br>') %>
<% } else { %>
<%- theme.uiux.slogan %>
<% } %>
<% } %>
</p>

<!-- Header Nav -->
Expand All @@ -43,14 +49,15 @@
</a>
</span>

<!-- Independent Pages -->
<% for (var i in theme.pages) { %>
<span class="header-nav-item">
<a href="<%= theme.pages[i] || '#' %>" title="<%= i %>">
<span><%= i %></span>
</a>
</span>
<% } %>
<!-- Pages -->
<% for (var i in theme.sidebar.pages) { %>
<span class="header-nav-item">
<a href="<%= theme.sidebar.pages[i] || '#' %>" title="<%= i %>">
<span><%= i %></span>
</a>
</span>
<% } %>

</nav>

<!-- Header SNS -->
Expand Down

0 comments on commit ec1660e

Please sign in to comment.