hexo-theme-solitude 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +1 -1
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/_config.yml +13 -3
- package/languages/en-US.yml +31 -2
- package/languages/zh-CN.yml +32 -2
- package/languages/zh-TW.yml +147 -0
- package/layout/includes/footer.pug +1 -1
- package/layout/includes/head/config.pug +15 -2
- package/layout/includes/inject/body.pug +12 -4
- package/layout/includes/layout.pug +4 -0
- package/layout/includes/page/album.pug +4 -21
- package/layout/includes/page/music.pug +1 -4
- package/layout/includes/page/says.pug +1 -3
- package/layout/includes/widgets/home/bb/json.pug +2 -1
- package/layout/includes/widgets/home/bb/local.pug +2 -3
- package/layout/includes/widgets/home/bb/memos.pug +2 -1
- package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
- package/layout/includes/widgets/page/about/hobbies.pug +2 -2
- package/layout/includes/widgets/page/about/motto.pug +17 -15
- package/layout/includes/widgets/page/about/skillsinfo.pug +38 -36
- package/layout/includes/widgets/page/about/tenyear.pug +1 -1
- package/layout/includes/widgets/page/says/json.pug +3 -3
- package/layout/includes/widgets/page/says/local.pug +1 -1
- package/layout/includes/widgets/rightside/index.pug +33 -22
- package/package.json +1 -1
- package/plugins.yml +6 -2
- package/scripts/event/cdn.js +5 -0
- package/scripts/event/init.js +18 -19
- package/scripts/event/page.js +0 -5
- package/scripts/filter/checkThemeConfig.js +23 -7
- package/scripts/helper/related_post.js +0 -6
- package/scripts/helper/stylus.js +8 -3
- package/source/css/_layout/index.styl +54 -34
- package/source/css/_page/about/index.styl +26 -16
- package/source/css/_page/gallery/index.styl +11 -8
- package/source/css/_widgets/_comment/twikoo.styl +1 -1
- package/source/js/rightside.js +159 -342
- package/source/js/tw_cn.js +76 -0
- package/layout/includes/page/not_configured.pug +0 -18
- package/scripts/helper/cdn.js +0 -12
@@ -1,18 +0,0 @@
|
|
1
|
-
style.
|
2
|
-
.not-configured {
|
3
|
-
display: flex;
|
4
|
-
justify-content: center;
|
5
|
-
font-size: 18px;
|
6
|
-
font-weight: bold;
|
7
|
-
height: 80vh;
|
8
|
-
align-items: center
|
9
|
-
}
|
10
|
-
.not-configured strong {
|
11
|
-
padding: 0 4px;
|
12
|
-
border-bottom: 2px dotted var(--sco-lighttext)
|
13
|
-
}
|
14
|
-
|
15
|
-
.not-configured
|
16
|
-
.title 请前往
|
17
|
-
strong 主题配置文件
|
18
|
-
| 进行配置
|
package/scripts/helper/cdn.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
hexo.extend.helper.register('cdn_url_for', function(path) {
|
4
|
-
const {config, theme} = this
|
5
|
-
const cdnPrefix = theme.cdn.prefix;
|
6
|
-
const urlFor = hexo.extend.helper.get('url_for').bind(this);
|
7
|
-
if (cdnPrefix) {
|
8
|
-
return cdnPrefix + urlFor(path);
|
9
|
-
} else {
|
10
|
-
return urlFor(path);
|
11
|
-
}
|
12
|
-
});
|