This commit is contained in:
xaoxuu 2022-10-15 13:41:58 +08:00
parent d3acc66a8f
commit 403095a26b
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
<div class='nav-wrap'>
<nav class='sub post cap'>
<% if (is_home()) { %>
<a class='active' href='/'><%- __('btn.recent_publish') %></a>
<a class='active' href='<%- url_for("/") %>'><%- __('btn.recent_publish') %></a>
<% } else { %>
<a href='/'><%- __('btn.recent_publish') %></a>
<a href='<%- url_for("/") %>'><%- __('btn.recent_publish') %></a>
<% } %>
<% if (site.categories && site.categories.length > 0) { %>
<% if (page.category) { %>