Skip to content

Commit

Permalink
Renamed sidebar to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
iMidnights committed Sep 30, 2024
1 parent 7981393 commit 58a020f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/partials/sidebar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@
<span class="nav-link-text ms-1"><%- req?.locales?.partials?.sidebar.pp || "Privacy Policy" %></span>
</a>
</li>
<% if(themeConfig?.sidebar?.length) { %>
<% for (const item of themeConfig?.sidebar) { %>
<% if(themeConfig?.sidebar?.items?.length > 0) { %>
<% for (const item of themeConfig?.sidebar?.items) { %>
<li class="nav-item">
<a class="nav-link <% if(now == item.id){ %>active"<% } else { %>" href='<%- item.link %>'<% } %>>
<div class="icon icon-shape icon-sm shadow border-radius-md bg-white text-center me-2 d-flex align-items-center justify-content-center">
Expand Down

0 comments on commit 58a020f

Please sign in to comment.