1.5.0
Pre-release
Pre-release
New features
- feat(ls): New localstorage cleanup mechanism #378
- feat(qrcode): add google qrcode api support #385
- feat(footer_sns): use raw instead of base64 #391
- feat(footer): add footer custom_code #392
- feat(head): minor changes for better performance
- feat(head): minor changes of dns-prefetch #396
- feat(structured-data)
- feat(head): link alternate for rss
- feat(notag nocategory): auto detect if the post has tags/categories #437
- feat(toc): auto detect if the post has toc #437 #452
- feat(footer): add v2ex to footer_sns_icon #445
- fix: new fallback rule for vendor config #449
- feat(comment): disqus accessible check
- feat(font): add new font.host catnet #493
Changes
- refactor(fonts): load material icons as vendors #401
- feat(head): minor changes
- refactor: move dnsprefetch to widget
- chore/feat(ci): bring up travis #438
- refactor(footer_icon): add icon to style.css
- chore(travis): bring up browserstack #477
- style(font): add font-family for code tag
Bugs fixed
- fix(background): set bing background before lazyload initialization #393
- fix(#376 #386 #404 ): fix x-scroll when toTop show #406
- fix/refactor(path): fix subdir error & refactor url concatenation #423
- fix(MathJax): fix case so mathjax can find its own script tag
- fix(#373): support multiple analytics system
- fix(lsload): error resources type #442 #443 #444
BREAKING CHANGES
- fix/feat(cdn): support load third party libraries from public cdn
- feat(comment): add livere comment system support #381 #390
- feat(footer): footer text customize support #389
- feat(code highlight): google code prettify support #395 #398
- feat(license): add license on every posts #405
- remove(comment): remove 163 gentie #429
- feat(comment): add gitment #454
- feat(comment): add Valine comment system support #478
- feat(hanabi): add code pretty hanabi #494
Changes
# 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:
New
# 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: