-
+
<%- __('page.error.what') %>
diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs
index fc2a465..6c894be 100755
--- a/layout/_partial/head.ejs
+++ b/layout/_partial/head.ejs
@@ -49,8 +49,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 9f09964..37e2938 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/paginator.ejs b/layout/_partial/main/post_list/paginator.ejs
index b63b4ec..3d39188 100644
--- a/layout/_partial/main/post_list/paginator.ejs
+++ b/layout/_partial/main/post_list/paginator.ejs
@@ -1,13 +1,13 @@
<% if (is_home() && page.total > 1) { %>
<% } %>
diff --git a/layout/_partial/main/post_list/post_card.ejs b/layout/_partial/main/post_list/post_card.ejs
index 285bd6f..0d2ef9b 100755
--- a/layout/_partial/main/post_list/post_card.ejs
+++ b/layout/_partial/main/post_list/post_card.ejs
@@ -80,7 +80,7 @@ function div_default() {
}
}
if (post.pin) {
- el += '';
+ el += '';
}
el += '';
el += '
';
diff --git a/layout/_partial/plugins/comments/valine/script.ejs b/layout/_partial/plugins/comments/valine/script.ejs
index 300a298..14e8b87 100644
--- a/layout/_partial/plugins/comments/valine/script.ejs
+++ b/layout/_partial/plugins/comments/valine/script.ejs
@@ -35,7 +35,7 @@
el: '#valine_container',
path: path,
placeholder: placeholder,
- emojiCDN: 'https://cdn.jsdelivr.net/gh/volantis-x/cdn-emoji/valine/',
+ emojiCDN: 'https://fastly.jsdelivr.net/gh/volantis-x/cdn-emoji/valine/',
emojiMaps: getEmojiMaps(),
}));
});
diff --git a/layout/_partial/scripts/index.ejs b/layout/_partial/scripts/index.ejs
index 77733d6..7f26f83 100644
--- a/layout/_partial/scripts/index.ejs
+++ b/layout/_partial/scripts/index.ejs
@@ -103,7 +103,7 @@
// required plugins (only load if needs)
stellar.plugins = {
- jQuery: '<%- url_for(theme.plugins.jquery || "https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js") %>',
+ jQuery: '<%- url_for(theme.plugins.jquery || "https://fastly.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js") %>',
sitesjs: '<%- url_for(theme.plugins.sitesjs) %>',
friendsjs: '<%- url_for(theme.plugins.friendsjs) %>',
};
diff --git a/npm-publish.sh b/npm-publish.sh
index 7a44bd5..3a6236a 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/\(cdn.jsdelivr.net\/npm\/hexo-theme-stellar@[^/]\{1,\}\)/cdn.jsdelivr.net\/npm\/hexo-theme-stellar@${jsdelivr}/g" '_config.yml'
+ sed -i "" "s/\(fastly.jsdelivr.net\/npm\/hexo-theme-stellar@[^/]\{1,\}\)/fastly.jsdelivr.net\/npm\/hexo-theme-stellar@${jsdelivr}/g" '_config.yml'
}
# 提交
diff --git a/source/css/_custom.styl b/source/css/_custom.styl
index 96333f2..6780c77 100644
--- a/source/css/_custom.styl
+++ b/source/css/_custom.styl
@@ -32,7 +32,7 @@ $dark-site-bg-mobile = black
// @font-face
// font-family: 'Dosis'
-// src: url('https://cdn.jsdelivr.net/gh/volantis-x/cdn-fonts@20.5.30/Dosis/Dosis-Medium.ttf')
+// src: url('https://fastly.jsdelivr.net/gh/volantis-x/cdn-fonts@20.5.30/Dosis/Dosis-Medium.ttf')
// font-weight: normal
// font-style: normal
diff --git a/source/css/_layout/tag-plugins/frame.styl b/source/css/_layout/tag-plugins/frame.styl
index 7ce15d9..4a1534c 100644
--- a/source/css/_layout/tag-plugins/frame.styl
+++ b/source/css/_layout/tag-plugins/frame.styl
@@ -27,7 +27,7 @@
margin-top: 19px
margin-bottom: 20px
.frame
- background-image: url(https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/frame/iphone11.svg);
+ background-image: url(https://fastly.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/frame/iphone11.svg);
width: 329px
height: 658px
&[focus='top']
diff --git a/source/js/plugins/friends.js b/source/js/plugins/friends.js
index e5189bc..c15b700 100644
--- a/source/js/plugins/friends.js
+++ b/source/js/plugins/friends.js
@@ -77,7 +77,7 @@ $(function () {
cfg.el = el;
cfg.api = api;
cfg.class = el.getAttribute('class');
- cfg.avatar = 'https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/avatar/round/3442075.svg';
+ cfg.avatar = 'https://fastly.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/avatar/round/3442075.svg';
friendsjs.layout(cfg);
}
});
diff --git a/source/js/plugins/sites.js b/source/js/plugins/sites.js
index c798af4..540c177 100644
--- a/source/js/plugins/sites.js
+++ b/source/js/plugins/sites.js
@@ -80,8 +80,8 @@ $(function () {
cfg.class = el.getAttribute('class');
cfg.el = el;
cfg.api = api;
- cfg.avatar = 'https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/link/8f277b4ee0ecd.svg';
- cfg.screenshot = 'https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/cover/76b86c0226ffd.svg';
+ cfg.avatar = 'https://fastly.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/link/8f277b4ee0ecd.svg';
+ cfg.screenshot = 'https://fastly.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/cover/76b86c0226ffd.svg';
sitesjs.layout(cfg);
}
});