Material Design theme for hexo.
Hey we wre back with some bugs fixed.
There's no new features in this release.
There's no changes in this release.
There's no breaking changes in this release. That means you don't need to change your config for update from 1.5.5 to 1.5,6.
Maybe it is the last version of hexo-theme-material. Fell free to diy your own version then.
feat(footer_sns): add segmentfault (#590) feat(comment): add wildfire (#619) feat(gallery): unlock information panel (#630) feat: improve accessiable reading (#628) feat(lang) : add language - korean (#673)
feat: update dns-prefetch(#551)
feat/fix(copyright): avoid using document.write fixed(valine): fixed guest_info not working fix(valine): attribute configurations do not take effect(#678) fix(typo): fix two typos in config (#615)
+# Gallery Panel
+# You must activate Formspree before using
+gallery:
+ panel_show: false
+ left_show: true
+ left_title: Introduction
+ left_info: This is a Example.
+ right_show: true
+ right_title: Get in touch
# SNS Menu
sns:
email: [email protected]
facebook: "https://www.facebook.com/facebook"
twitter: "https://twitter.com/twitter"
googleplus: "https://www.google.com/"
weibo:
instagram:
tumblr:
github:
linkedin:
zhihu:
bilibili:
telegram:
v2ex:
+ segmentfault:
# Comment Systems
# Available value of "use":
# disqus | disqus_click | changyan | livere | gitment | gitalk | valine
comment:
use:
shortname: # duoshuo or disqus shortname
changyan_appid:
changyan_conf:
changyan_thread_key_type: path
gentie_productKey:
gitment_repo: # git repo of the hexo
gitment_owner: # git repo's owner
gitment_client_id: # github app client id
gitment_client_secret : # github app client secret
valine_leancloud_appId: # leancloud application app id
valine_leancloud_appKey: # leancloud application app key
+ valine_notify: false # valine mail notify (true/false) https://github.com/xCss/Valine/wiki
+ valine_verify: false # valine verify code (true/false)
+ valine_placeholder: # valine comment input placeholder(like: Please leave your footprints )
+ gitalk_repo: # git repo of the hexo
+ gitalk_owner: # git repo's owner
+ gitalk_client_id: # github app client id
+ gitalk_client_secret: # github app client secret
# Comment Systems
# Available value of "use":
# disqus | disqus_click | changyan | 163gentie
comment:
use:
shortname: # duoshuo or disqus shortname
changyan_appid:
changyan_conf:
changyan_thread_key_type: path
- gentie_productKey:
+ gitment_repo: # git repo of the hexo
+ gitment_owner: # git repo's owner
+ gitment_client_id: # github app client id
+ gitment_client_secret : # github app client secret
+ valine_leancloud_appId: # leancloud application app id
+ valine_leancloud_appKey: # leancloud application app key
analytics:
use:
- site_id:
+ google_site_id:
+ baidu_site_id:
+ cnzz_site_id:
# Footer Text
# You can specify the text you want to show in footer, HTML tag is supported.
# For example, you can setup ICP license number as:
# '<a href="http://www.miitbeian.gov.cn" rel="nofollow">某ICP备xxxxxxxx号-x</a>'
# Or you can set up a CC license as:
# 'This blog is under a <a href="/creativecommons.html" target="_blank" class="footer-develop-a">CC BY-NC-SA 3.0 Unported License</a>'
footer_text:
# Post License
# You can specify the text you want to show in the end of your posts and pages, HTML tag is supported.
# For example, you can setup a CC license as:
# 'This blog is under a <a href="/creativecommons.html" target="_blank">CC BY-NC-SA 3.0 Unported License</a>'
# You can also use Front-Matter `license` to override this setting.
license:
# Available value for `prettify` or `hanabi`: true | false
# You can only enable one of them to avoid issues. Also you need to check highlight option in _config.yml. Make sure that default hexo built in highlight plugin is disabled.
# highlight:
# enable: false
#
# Prettify
# theme value:
# theme-name # /vendors/prettify/themes/[theme-name].css
prettify:
enable: false
theme: "vibrant-ink" # default value: "vibrant-ink" # theme-name without '.css'
# Hanabi
# hanabi © egoist, Released under the MIT License
# https://github.com/egoist/hanabi
#
# line_number: [true/false] # Show line number for code block
# includeDefaultColors: [true/false] # Use default hanabi colors
# customColors: # This value accept a string or am array to setting for hanabi colors.
# # If `includeDefaultColors` is true, this will append colors to the color pool
# # If `includeDefaultColors` is false, this will instead default color pool
hanabi:
enable: false
line_number: true
includeDefaultColors: true
customColors:
# Files Vendors
# Set a CDN for the files src you want to customize. The url should with protocol.
# Default(empty) will load the files from the origin server.
vendors:
# MaterialCDN
# You can load theme unique files from your private cdn or oss.
# The new src will have the base domain you configured below.
# For example
# materialcdn: https://cdn.example.com
materialcdn:
# Third party library
# You can load these files from public cdn.
# For example
# jquery: https://cdn.bootcss.com/jquery/2.2.1/jquery.js
# jQuery 2.2.0
jquery:
# nprogress 0.2.0
nprogress:
# FontAwesome 4.5.0
fontawesome:
# MathJax 2.7.0-2.7.1
mathjax:
# Prettify r298 (only prettify.js)
prettify:
# Material Icons 3.0.1
material_icons:
# ---------------------------------------------------------------
# Integrated Services
# ---------------------------------------------------------------
# Comment Systems
# Available value of "use":
# duoshuo | disqus | disqus_click
comment:
use:
shortname:
duoshuo_thread_key_type: path
duoshuo_embed_js_url: "https://static.duoshuo.com/embed.js"
# ---------------------------------------------------------------
# Integrated Services
# ---------------------------------------------------------------
# MaterialCDN
# When you set 'use' as true, the needed css, js, font file will have a new src.
# The new src will have the base domain you configured in 'base'.
materialcdn:
use:
base:
# Comment Systems
# Available value of "use":
# duoshuo | disqus | disqus_click | changyan
comment:
use:
shortname:
duoshuo_thread_key_type: path
duoshuo_embed_js_url: "https://static.duoshuo.com/embed.js"
changyan_appid:
changyan_conf:
changyan_thread_key_type: path
.on('load', fn)
instead of .load(fn)
#370# Custom Fonts
fonts: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif
# Custom Fonts
# family: the font-family which will be used in the theme
# host: uri of fonts host.
# Available value of "use": google | baomitu | ustc | custom
fonts:
family: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif
use: google
custom_host_url:
# Analytics Systems
analytics:
baidu_id:
google_id:
# Analytics Systems
# Available value:
# baidu | google | cnzz
analytics:
use:
site_id:
# Comment Systems
# Available value of "use":
# duoshuo | disqus | disqus_click | changyan
comment:
use:
shortname:
duoshuo_thread_key_type: path
duoshuo_embed_js_url: "https://static.duoshuo.com/embed.js"
changyan_appid:
changyan_conf:
changyan_thread_key_type: path
# Comment Systems
# Available value of "use":
# disqus | disqus_click | changyan | 163gentie
comment:
use:
shortname: # duoshuo or disqus shortname
changyan_appid:
changyan_conf:
changyan_thread_key_type: path
gentie_productKey:
site_verification:
google:
baidu:
toc:
# use: choose whether the line_number of toc will show or not.
# Available value of "linenumber": true | false
linenumber: true
We removed the uesless private
layout. We suggest using hexo-blog-encrypt plugin instead.
Also, we removed the duoshuo as duoshuo will stop service in June 1st.
There's no new features in this release.
There's no new changes in this release.
There's no breaking changes in this release. That means you don't need to change your config for update from 1.3.3 to 1.3.4.
There's no breaking changes in this release. That means you don't need to change your config for update from 1.3.2 to 1.3.3.
plain
& material
markdown style configBefore:
$ tree -L 1
.
├── LICENSE
├── README.md
├── _config.yml
├── languages
├── layout
├── package.json
└── source
After:
$ tree -L 1
.
├── LICENSE
├── README.md
├── _config.template.yml
├── languages
├── layout
├── package.json
└── source
duoshuo_thread_key
-> duoshuo_thread_key_type
#105no-wrap
style of .markdown-Github code
Before:
pages:
page1: "/link1/"
page2: "/link2/"
After:
pages:
page1:
link: "/link1/"
icon: icon1
page1:
link: "/link2/"
icon: icon2