-
+
<%- __('page.error.what') %>
diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs
index 1be6b21..729dbe4 100755
--- a/layout/_partial/head.ejs
+++ b/layout/_partial/head.ejs
@@ -64,8 +64,8 @@ function og_args() {
<%- generate_robots() %>
-
-
+
+
diff --git a/layout/_partial/main/article/article_footer.ejs b/layout/_partial/main/article/article_footer.ejs
index bad76b5..41d9a26 100644
--- a/layout/_partial/main/article/article_footer.ejs
+++ b/layout/_partial/main/article/article_footer.ejs
@@ -85,13 +85,13 @@ function layoutDiv() {
}
el += '>';
if (item == 'wechat') {
- el += '';
+ el += '';
} else if (item == 'weibo') {
- el += '';
+ el += '';
} else if (item == 'email') {
- el += '';
+ el += '';
} else if (item == 'link') {
- el += '';
+ el += '';
}
el += '';
}
diff --git a/layout/_partial/main/post_list/post_card.ejs b/layout/_partial/main/post_list/post_card.ejs
index cedb577..96ed244 100755
--- a/layout/_partial/main/post_list/post_card.ejs
+++ b/layout/_partial/main/post_list/post_card.ejs
@@ -90,7 +90,7 @@ function div_default() {
}
}
if (post.pin) {
- el += '';
+ el += '';
}
el += '';
el += '
';
diff --git a/layout/_partial/scripts/index.ejs b/layout/_partial/scripts/index.ejs
index be9a611..8eabc29 100644
--- a/layout/_partial/scripts/index.ejs
+++ b/layout/_partial/scripts/index.ejs
@@ -104,7 +104,7 @@
// required plugins (only load if needs)
stellar.plugins = {
- jQuery: '<%- url_for(theme.plugins.jquery || "https://fastly.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js") %>'
+ jQuery: '<%- url_for(theme.plugins.jquery || "https://gcore.jsdelivr.net/npm/jquery@3.6.2/dist/jquery.min.js") %>'
};
if ('<%- theme.search.service %>') {
diff --git a/npm-publish.sh b/npm-publish.sh
index 3a6236a..8419594 100644
--- a/npm-publish.sh
+++ b/npm-publish.sh
@@ -21,7 +21,7 @@ function prepare() {
sub=${VERSION#*.}
sub=${sub%%.*}
jsdelivr=$main'.'$sub
- sed -i "" "s/\(fastly.jsdelivr.net\/npm\/hexo-theme-stellar@[^/]\{1,\}\)/fastly.jsdelivr.net\/npm\/hexo-theme-stellar@${jsdelivr}/g" '_config.yml'
+ sed -i "" "s/\(gcore.jsdelivr.net\/npm\/hexo-theme-stellar@[^/]\{1,\}\)/gcore.jsdelivr.net\/npm\/hexo-theme-stellar@${jsdelivr}/g" '_config.yml'
}
# 提交
diff --git a/scripts/tags/lib/emoji.js b/scripts/tags/lib/emoji.js
index c540729..345203e 100644
--- a/scripts/tags/lib/emoji.js
+++ b/scripts/tags/lib/emoji.js
@@ -27,7 +27,7 @@ module.exports = ctx => function(args) {
}
}
if (config[args.source] && args.name) {
- let url = config[args.source].replace('%s', args.name)
+ let url = config[args.source].replace('${name}', args.name)
el += '