Skip to content

Commit

Permalink
还是自己在主题配置文件设置 menu 吧。
Browse files Browse the repository at this point in the history
  • Loading branch information
God-2077 committed Nov 8, 2024
1 parent cd00983 commit 19582e8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions layout/_partial/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,7 @@
<a href="https://github.com/God-2077/hexo-PureSuck-theme">Theme PureSuck</a>
</div>
<nav class="nav header-item header-nav">
<span class="nav-item<% if(is_current("/")){ %> nav-item-current<% } %>">
<a href="<%= config.url %>" title="首页">
<span itemprop="name">首页</span>
</a>
</span>
<%# 还是自己在主题配置文件设置 menu 吧。 %>
<!--循环显示页面-->
<% if (theme.menu) { %>
<% getList(theme.menu).forEach(function(value){ %>
Expand Down

0 comments on commit 19582e8

Please sign in to comment.