11#Hexo-theme-obsidian
22> A dark Hexo theme, it's responsive, simple but elegant.
33
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 `
66
77** [ PREVIEW] ( http://tridiamond.me ) ** |
88** [ 中文文档] ( https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/README_CN.md ) ** |
@@ -34,7 +34,6 @@ theme: obsidian
3434Open` /themes/obsidian/_config.yml ` can change the theme configs
3535
3636``` yaml
37-
3837# ! ---------------------------------------------------------------
3938# ! Obsidian theme use manual highlight.js
4039# ! To maintain the code block css display properly
@@ -160,6 +159,12 @@ html_truncate:
160159busuanzi :
161160enable :true
162161
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+
163168` ` `
164169
165170### Comments
@@ -168,14 +173,18 @@ You can choose from using Valine or Gitalk
168173
169174- If you are using` Valine`, you need to turn off `busuanzi`, because Valine has article view count support.
170175-If you are using `Gitalk`, you may turn on `busuanzi`, to have article view count enable.
171- ` ` `
172176
173177# ## Code block style
174178
175179> Turn off default `highlight` to ensure code block style display properly.
176180Because Obsidian theme use manual highlight.js
177181To maintain the code block css display properly
178182please 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.
179188
180189` ` ` yaml
181190...
@@ -189,7 +198,7 @@ highlight:
189198...
190199` ` `
191200
192- > Rebuild files after you changed the config
201+ Rebuild files after you changed the config
193202
194203` ` ` bash
195204hexo clean && hexo g