更新head.ejs scripts.ejs (#535)

This commit is contained in:
ttaydes 2024-10-25 21:18:57 +08:00 committed by GitHub
parent 81cb63a52c
commit 0628fc9478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -119,7 +119,8 @@ function custom_inject() {
<%- 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) { %>
<%- favicon_tag(config.favicon) %>

View File

@ -21,7 +21,7 @@ function custom_inject() {
<%- partial('scripts/tagtree') %>
<!-- 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') %>