Closed nygula closed 5 years ago
\themes\hexo-theme-snippet\source\css\less 增加如下样式 .main-content{
.title { margin-top: 0; padding-bottom: 12px; margin-bottom: 1px; position: relative; background: white; padding-top: 10px; padding-left: 10px; &:after { content: ""; width: 90px; height: 1px; background: @theme_color; position: absolute; left: 0; bottom: -1px; } }
}
\themes\hexo-theme-snippet\layout_partial\archive.ejs <% if(page.tag) { %>
<% } if(page.category) { %>
<% } else { %> <% } %>
谢谢,收到
\themes\hexo-theme-snippet\source\css\less 增加如下样式 .main-content{
}
\themes\hexo-theme-snippet\layout_partial\archive.ejs <% if(page.tag) { %>
<%= page.tag %>
<% } if(page.category) { %>
<%= page.category %>
<% } else { %> <% } %>