更新head.ejs scripts.ejs (#535)
This commit is contained in:
parent
81cb63a52c
commit
0628fc9478
|
@ -119,7 +119,8 @@ function custom_inject() {
|
||||||
<%- feed_tag(config.feed.path, {title: config.title}) %>
|
<%- feed_tag(config.feed.path, {title: config.title}) %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<link rel="stylesheet" href="<%- `${theme.stellar.main_css}?v=${stellar_info('version')}` %>">
|
<link rel="stylesheet" href="<%- url_for(`${theme.stellar.main_css}?v=${stellar_info('version')}`) %>">
|
||||||
|
|
||||||
|
|
||||||
<% if (config.favicon) { %>
|
<% if (config.favicon) { %>
|
||||||
<%- favicon_tag(config.favicon) %>
|
<%- favicon_tag(config.favicon) %>
|
||||||
|
|
|
@ -21,7 +21,7 @@ function custom_inject() {
|
||||||
<%- partial('scripts/tagtree') %>
|
<%- partial('scripts/tagtree') %>
|
||||||
|
|
||||||
<!-- required -->
|
<!-- required -->
|
||||||
<script src="<%- `${theme.stellar.main_js}?v=${stellar_info('version')}` %>" defer></script>
|
<script src="<%- url_for(`${theme.stellar.main_js}?v=${stellar_info('version')}`) %>" defer></script>
|
||||||
|
|
||||||
<%- partial('scripts/theme') %>
|
<%- partial('scripts/theme') %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue