File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 114
114
< link rel= " stylesheet" href= " <%- theme.info.cdn.css %>" media= " print" onload= " this.media='all';this.onload=null" >
115
115
< noscript>< link rel= " stylesheet" href= " <%- theme.info.cdn.css.style %>" >< / noscript>
116
116
< % } else { % >
117
- < link rel= " stylesheet" href= " /css/style.css" media= " print" onload= " this.media='all';this.onload=null" >
118
- < noscript>< link rel= " stylesheet" href= " /css/style.css" >< / noscript>
117
+ < link rel= " stylesheet" href= " <%- url_for( " / css/ style .css " ) %> " media= " print" onload= " this.media='all';this.onload=null" >
118
+ < noscript>< link rel= " stylesheet" href= " <%- url_for( " / css/ style .css " ) %> " >< / noscript>
119
119
< % } %>
120
120
121
121
<script id =" loadcss" ></script >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ $('.input.u-search-input').one('focus',function(){
8
8
< % } else if (theme .use_cdn ) { % >
9
9
loadScript (' <%- ' https: // cdn.jsdelivr.net/npm/hexo-theme-volantis@'+theme.info.theme_version+'/source/js/search/'+theme.search.service+'.min.js' %>',setSearchService);
10
10
< % } else { % >
11
- loadScript (' <%- ' / js/ search/ ' +theme.search.service+' .js ' %>' ,setSearchService);
11
+ loadScript (' <%- url_for( ' / js/ search/ ' +theme.search.service+' .js ' ) %>' ,setSearchService);
12
12
< % } % >
13
13
})
14
14
You can’t perform that action at this time.
0 commit comments