1
1
# Hexo-theme-obsidian
2
2
> A dark Hexo theme, it's responsive, simple but elegant.
3
3
4
- - ` Latest version: v1.3.2 `
5
- - ` Last updated at: 2019-10-21 `
4
+ - ` Latest version: v1.3.3 `
5
+ - ` Last updated at: 2019-10-23 `
6
6
7
7
** [ PREVIEW] ( http://tridiamond.me ) ** |
8
8
** [ 中文文档] ( https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/README_CN.md ) ** |
@@ -34,7 +34,6 @@ theme: obsidian
34
34
Open ` /themes/obsidian/_config.yml ` can change the theme configs
35
35
36
36
``` yaml
37
-
38
37
# ! ---------------------------------------------------------------
39
38
# ! Obsidian theme use manual highlight.js
40
39
# ! To maintain the code block css display properly
@@ -160,6 +159,12 @@ html_truncate:
160
159
busuanzi :
161
160
enable : true
162
161
162
+ # Enable social media sharing
163
+ # see https://github.com/overtrue/share.js/
164
+ sharejs :
165
+ enable : true
166
+ disabled : ' facebook,douban,linkedin,diandian,tencent,google'
167
+
163
168
` ` `
164
169
165
170
### Comments
@@ -168,14 +173,18 @@ You can choose from using Valine or Gitalk
168
173
169
174
- If you are using ` Valine`, you need to turn off `busuanzi`, because Valine has article view count support.
170
175
- If you are using `Gitalk`, you may turn on `busuanzi`, to have article view count enable.
171
- ` ` `
172
176
173
177
# ## Code block style
174
178
175
179
> Turn off default `highlight` to ensure code block style display properly.
176
180
Because Obsidian theme use manual highlight.js
177
181
To maintain the code block css display properly
178
182
please change your default highlight setting as off!!
183
+
184
+ Hexo configuration file `_config.yml` located at the ROOT path of your blog.
185
+
186
+ > ⚠️ Please note do not make these changes in the theme's config file,
187
+ changing configs in the theme config file `_config.yml` will not work properly.
179
188
180
189
` ` ` yaml
181
190
...
@@ -189,7 +198,7 @@ highlight:
189
198
...
190
199
` ` `
191
200
192
- > Rebuild files after you changed the config
201
+ Rebuild files after you changed the config
193
202
194
203
` ` ` bash
195
204
hexo clean && hexo g
0 commit comments