Skip to content

Commit 6404e0b

Browse files
authored
Merge branch 'master' into toc-max-depth
2 parents 37ba928 + ca9725a commit 6404e0b

File tree

6 files changed

+36
-23
lines changed

6 files changed

+36
-23
lines changed

_config.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ reward:
331331
#comment: Donate comment here
332332
#wechatpay: /images/wechatpay.jpg
333333
#alipay: /images/alipay.jpg
334-
#bitcoin: /images/bitcoin.png
334+
#bitcoin: /images/bitcoin.jpg
335335

336336
# Related popular posts
337337
# Dependencies: https://github.com/tea3/hexo-related-popular-posts
@@ -350,8 +350,8 @@ related_posts:
350350
# Dependencies: https://github.com/hexojs/hexo-deployer-git
351351
post_edit:
352352
enable: false
353-
url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name/ # Link for view source.
354-
#url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # Link for fork & edit.
353+
url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name # Link for view source.
354+
#url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name # Link for fork & edit.
355355

356356

357357
# ---------------------------------------------------------------
@@ -708,10 +708,10 @@ busuanzi_count:
708708

709709

710710
# Tencent analytics ID
711-
# tencent_analytics:
711+
#tencent_analytics:
712712

713713
# Tencent MTA ID
714-
# tencent_mta:
714+
#tencent_mta:
715715

716716

717717
# Enable baidu push so that the blog will push the url to baidu automatically which is very helpful for SEO
@@ -851,19 +851,9 @@ lazyload: false
851851
# Dependencies: https://github.com/theme-next/theme-next-pace
852852
pace: false
853853
# Themes list:
854-
#pace-theme-big-counter
855-
#pace-theme-bounce
856-
#pace-theme-barber-shop
857-
#pace-theme-center-atom
858-
#pace-theme-center-circle
859-
#pace-theme-center-radar
860-
#pace-theme-center-simple
861-
#pace-theme-corner-indicator
862-
#pace-theme-fill-left
863-
#pace-theme-flash
864-
#pace-theme-loading-bar
865-
#pace-theme-mac-osx
866-
#pace-theme-minimal
854+
# pace-theme-big-counter | pace-theme-bounce | pace-theme-barber-shop | pace-theme-center-atom
855+
# pace-theme-center-circle | pace-theme-center-radar | pace-theme-center-simple | pace-theme-corner-indicator
856+
# pace-theme-fill-left | pace-theme-flash | pace-theme-loading-bar | pace-theme-mac-osx | pace-theme-minimal
867857
# For example
868858
# pace_theme: pace-theme-center-simple
869859
pace_theme: pace-theme-minimal
@@ -1049,14 +1039,14 @@ vendors:
10491039

10501040
# Internal version: 1.4.0
10511041
# See: https://github.com/gitalk/gitalk
1052-
# Examples:
1042+
# Example:
10531043
# gitalk_js: https://cdn.jsdelivr.net/npm/gitalk@1.4.0/dist/gitalk.min.js
10541044
# gitalk_css: https://cdn.jsdelivr.net/npm/gitalk@1.4.0/dist/gitalk.css
10551045
gitalk_js:
10561046
gitalk_css:
10571047

10581048
# Internal version: 0.7.3
1059-
# See: https://github.com/emn178/js-md5/
1049+
# See: https://github.com/emn178/js-md5
10601050
# Example:
10611051
# md5: https://cdn.jsdelivr.net/npm/js-md5@0.7.3/src/md5.min.js
10621052
md5:

layout/_macro/post.swig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</span>
5757
{% endif %}
5858
{# Need to delete maybe? #}
59-
{{ next_url(post.path, post.title | default(__('post.untitled')), {class: 'post-title-link', itemprop: url }) }}
59+
{{ next_url(post.path, post.title | default(__('post.untitled')), {class: 'post-title-link', itemprop: 'url' }) }}
6060
{% else -%}
6161
{{- post.title -}}
6262
{% include '../_partials/post-edit.swig' %}

source/css/_common/components/pages/archive.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
}
2929

30-
.fa {
30+
.fa-external-link {
3131
font-size: 15px;
3232
margin-left: 5px;
3333
}

source/css/_common/components/post/post-reward.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
font-variant: normal;
2222
font-stretch: normal;
2323
font-size: 18px;
24-
font-family: "Microsoft Yahei";
2524
background: #F44336;
2625
}
2726
#rewardButton span:hover{

source/css/_common/scaffolding/base.styl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,17 @@ h1, h2, h3, h4, h5, h6 { margin: 20px 0 15px; }
3030
for headline in (1..6) {
3131
h{headline} {
3232
font-size: $font-size-headings-base - $font-size-headings-step * headline;
33+
code {
34+
font-size: $font-size-headings-base - $font-size-headings-step * headline;
35+
}
3336
}
3437

3538
+mobile() {
3639
h{headline} {
3740
font-size: $font-size-headings-base - $font-size-headings-step * headline - 4px;
41+
code {
42+
font-size: $font-size-headings-base - $font-size-headings-step * headline - 4px;
43+
}
3844
}
3945
}
4046
}

source/css/_schemes/Gemini/index.styl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,22 @@ use_seo = hexo-config('seo');
143143
h1 {
144144
font-size: 1.6em;
145145
border-bottom: 1px solid $body-bg-color;
146+
code {
147+
font-size: 1em;
148+
}
146149
}
147150
h2 {
148151
font-size: 1.45em;
149152
border-bottom: 1px solid $body-bg-color;
153+
code {
154+
font-size: 1em;
155+
}
150156
}
151157
h3 {
152158
font-size: 1.3em;
159+
code {
160+
font-size: 1em;
161+
}
153162
if use_seo {
154163
border-bottom: 1px solid $body-bg-color;
155164
} else {
@@ -158,15 +167,24 @@ use_seo = hexo-config('seo');
158167
}
159168
h4 {
160169
font-size: 1.2em;
170+
code {
171+
font-size: 1em;
172+
}
161173
if use_seo {
162174
border-bottom: 1px dotted $body-bg-color;
163175
}
164176
}
165177
h5 {
166178
font-size: 1.07em;
179+
code {
180+
font-size: 1em;
181+
}
167182
}
168183
h6 {
169184
font-size: 1.03em;
185+
code {
186+
font-size: 1em;
187+
}
170188
}
171189
}
172190

0 commit comments

Comments
 (0)