Skip to content

Commit

Permalink
fix(sidebar): add sidebar archives back
Browse files Browse the repository at this point in the history
  • Loading branch information
neoFelhz committed Feb 21, 2018
1 parent b639298 commit eb11301
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion layout/_partial/sidebar/navigation.ejs
Expand Up @@ -12,7 +12,22 @@
<div class="divider"></div>
<% } %>
<% } %>


<!-- Archives -->
<% if(theme.sidebar.archives.use === true) { %>
<li class="nav-item">
<a href="<%= url_for('archives/') %>">
<% if(theme.sidebar.archives.icon) { %>
<i class="icon material-icons sidebar-icons"><%= theme.sidebar.archives.icon %></i>
<% } %>
<%= __('sidebar.archives') %>
</a>
</li>
<% if(theme.sidebar.archives.divider === true) { %>
<div class="divider"></div>
<% } %>
<% } %>

<!-- Search -->
<!--<% if(theme.search.use) { %>
<li class="nav-item">
Expand Down

0 comments on commit eb11301

Please sign in to comment.