hexo-theme-yilia
hexo-theme-yilia copied to clipboard
我点击所有文章,会弹出一个空白的网站
about:blank#blocked
有发布文章吗?
有
按理说点击“所有文章”是侧边栏往右滑动,打开搜索功能,按照标题名进行搜索,当然也可以是按照标签。我看你博客好像就是这样啊?
解决了 修改...\themes\yilia\layout_partial\left-col.ejs
在
在..\themes\yilia\layout_partial\left-col.ejs中
<nav class="header-smart-menu">
<% for (var i in theme.smart_menu){ %>
<% if(theme.smart_menu[i]){ %>
<a q-on="click: openSlider(e, '<%-i%>')" target="_self" href="javascript:void(0)"><%= theme.smart_menu[i] %></a>
<% } %>
<%}%>
</nav>
在..\themes\yilia\layout_partial\left-col.ejs中
<nav class="header-smart-menu"> <% for (var i in theme.smart_menu){ %> <% if(theme.smart_menu[i]){ %> <a q-on="click: openSlider(e, '<%-i%>')" target="_self" href="javascript:void(0)"><%= theme.smart_menu[i] %></a> <% } %> <%}%> </nav>
您好,请问修改后,重新git pull后,hexo clean、hexo g、hexo s,仍然是新打开一个空白窗口是怎么回事?
在..\themes\yilia\layout_partial\left-col.ejs中
<nav class="header-smart-menu"> <% for (var i in theme.smart_menu){ %> <% if(theme.smart_menu[i]){ %> <a q-on="click: openSlider(e, '<%-i%>')" target="_self" href="javascript:void(0)"><%= theme.smart_menu[i] %></a> <% } %> <%}%> </nav>
您好,请问修改后,重新git pull后,hexo clean、hexo g、hexo s,仍然是新打开一个空白窗口是怎么回事?
我看了下你的博客,好像没有改,直接将target="_blank"
去掉就可以了
在.. \ themes \ yilia \ layout_partial \ left-col.ejs中
<nav class="header-smart-menu"> <% for (var i in theme.smart_menu){ %> <% if(theme.smart_menu[i]){ %> <a q-on="click: openSlider(e, '<%-i%>')" target="_self" href="javascript:void(0)"><%= theme.smart_menu[i] %></a> <% } %> <%}%> </nav>
您好,请问修改后,重新git pull后,hexo clean,hexo g,hexo s,仍然是新打开一个空白窗口是怎么回事?
我看了下你的博客,好像没有改,直接将去掉
target="_blank"
就可以了
就文件里去掉后,页面中原来的a标签还有这个属性。