Skip to content

1.4.0

Compare
Choose a tag to compare
@neoFelhz neoFelhz released this 01 Jun 11:36
· 212 commits to master since this release

New features

  • feat(footer): enhancement for copyright #294 #306
  • feat(cache): localstorage cache js #299 #315 #331
  • feat(back-to-top): update back-to-top IXD #318
  • feat(analytics): add cnzz support #326
  • refactor(css): split fontawesome and sns icon
  • feat(head): add meta tag for google_site_verification #309
  • feat(head): add meta tag for baidu_site_verification #353
  • feat(head): optimize discription for seo & add a new front-matter
  • feat(font): fonts customization #330 #332
  • feat(og): optimize the description of opengraph #339
  • feat(qrcode): add support for using online api to generate post qrcode #342
  • feat/fix(#345): add configuration of toc_linenumber support #346 #355
  • feat(head): add canonical link for seo #356
  • feat(comment): add 163gentie support #351
  • feat(head): add structured-data support for seo #354
  • feat(head): add twitter card protocol #356
  • feat(footer_sns): use inline data uri to load icon #319 #369

Changes

  • refactor(language): improve language fault tolerance
  • refactor(head): fix bugs and optimize the charset
  • style(uc): remove uc ad #291
  • refactor(uc): add uc compatible to footer #292
  • style(console): add version code to console log #293
  • style(queue): compress queue.js to queue.min.js #303
  • remove(layout): remove private layout #310
  • revert(gallery): remove dump file
  • refactor(logo_link): add target="_blank"
  • refactor(uc_block): update insert sentence
  • style(config): adjust field place
  • refactor(analytics): split analytics sdk #326
  • refactor(comment): split comment provider/allow custom #311
  • remove(duoshuo) #340
  • refactor(comment): remove useless disqus count.js
  • feat(font): update font-awesome to 4.7.0 #349
  • refactor(lang): improve english translate #361

Bugs fixed

  • fix(gallery): fix queue in gallery #287 #312
  • fix(#283): add misssed mathjax config back #295
  • fix(links): update responsive design #297
  • fix(isolatelink): fix isolate page link #308
  • fix(Bing): fix the background load exception for the first time loading #314
  • fix(#336): fix the text-decoration of sidebar footer image #337
  • fix(#335): remove the margin_right on 840px #358
  • fix(share_menu): url issue of sharing links #367
  • fix(window load): use .on('load', fn) instead of .load(fn) #370

BREAKING CHANGES

Before:

# Custom Fonts
fonts: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif

After:

# 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:

Before:

# Analytics Systems
analytics:
    baidu_id:
    google_id:

After:

# Analytics Systems
# Available value:
#     baidu | google | cnzz
analytics:
    use:
    site_id:

Before:

# 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

After:

# 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: 

New:

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.