Skip to content

Releases: iblh/hexo-theme-material

1.5.6

02 Aug 03:25
d93c5a8
Compare
Choose a tag to compare

Hey we wre back with some bugs fixed.

New features

There's no new features in this release.

Changes

There's no changes in this release.

Bugs Fixed

  • fix: change cat.net to loli.net

BREAKING CHANGES

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.

1.5.5

31 Jul 01:47
b38b146
Compare
Choose a tag to compare

Maybe it is the last version of hexo-theme-material.
Fell free to diy your own version then.

New features

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)

Changes

feat: update dns-prefetch(#551)

Bugs Fixed

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)

BREAKING CHANGES

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

1.5.2

02 Dec 10:31
6fd8fe9
Compare
Choose a tag to compare
1.5.2 Pre-release
Pre-release

New features

  • feat(i18n): add Dutch translation #563
  • feat(i18n): Russian import (#565)
  • feat(comment): add gitalk

Changes

  • feat(comment): update valine comment version (#558 #573 )
  • style: compress the search code
  • feat(icons): embedded the material_icons
  • refactor: remove combo support from lsloader
  • refactor(head): meta info

Bugs fixed

  • fix(comment): disqus_click button issue
  • fix(livere): add id for ls-javascript tag #546
  • fix(#553)
  • fix(gallery): remove css async load

BREAKING CHANGES

# 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

1.5.0

24 Aug 17:52
Compare
Choose a tag to compare
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:

1.4.0

01 Jun 11:36
Compare
Choose a tag to compare

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.

1.3.4

09 Apr 15:49
Compare
Choose a tag to compare

New features

There's no new features in this release.

Changes

There's no new changes in this release.

Bugs fixed

  • fix(queue): remove load idle
  • fix(info): fix isolation_info

BREAKING CHANGES

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.

1.3.3

09 Apr 05:32
Compare
Choose a tag to compare

New features

  • feat(head): add support for dns-prefetch #263
  • refactor(search): let the search dependencies only load on home page #265
  • refactor(lazyload): use lazyload on all Thumbnail #268

Changes

  • refactor(mathjax): save mathjax.js to local #262
  • refactor(language): zh-CN #264

Bugs fixed

  • fix(toc):fix toc menu list #266
  • fix(top post): fix pin on top #257

BREAKING CHANGES

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.

1.3.2

21 Jun 01:59
Compare
Choose a tag to compare

New features

  • refactor(thumbnail): use tinypng to compress the material thumbnail #218
  • refactor(gallery): merge multiple JavaScript into gallery.js #227
  • feat(footer_sns): add svg support #231
  • feat(comment):add changyan comment system #247
  • feat(timeline): add timeline layout #253

Changes

  • chore(doc): update issue template and add chinese language
  • chore(doc): update pr template

Bugs fixed

  • refactor(permission): remove execution permission #217
  • fix(disqus): load comment bug #230

BREAKING CHANGES

  • feat(materialcdn): MaterialCDN bring up #252
  • feat(comment):add changyan comment system #247

Before

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

After

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

1.3.0

31 Mar 10:18
Compare
Choose a tag to compare

New features

  • feat(keywords): add post keywords as meta keywords #138
  • feat(analytics): add baidu & google analytics id function #147
  • feat(opengraph): add opengraph support for posts #149
  • feat(load): add a js load queue #159
  • feat(gallery): use lazyload #175
  • feat(progressbar): custom style functino and revert center-atom style #178
  • feat(comments): add "Disqus_click_to_load" to improve in-GFW-users‘ exprience #182 #200
  • feat(head): add the "lang" to #189
  • feat(dropdown): rotate caret when dropdown is opened
  • feat(highlight): use hexo-prism-plugin to render code highlight

Changes

  • chore(doc): add issue template
  • chore(doc): add pr template
  • chore(doc): add branch detail
  • chore(doc): add contributing.md
  • chore(contributing): update master from canary #163
  • refactor(config): remove the plain & material markdown style config
  • refactor(template): add more details #153
  • fix(lang): update fr, en, and add i18n support for br

Bugs fixed

  • fix(#168): stops browsers covering up search suggestions #170
  • fix(autocomplete): disable browser autocomplete #171
  • fix(pages): fix page link from front page
  • fix(config): fix yaml exception
  • fix(comment):duoshuo comment counts display issues and some other errors #190
  • fix(highlight): remove highlight.js #174

BREAKING CHANGES

  • refactor(config): rename _config to _config.example #142
  • feat(sidebar): add sidebar footer image config #160
  • feat(sidebar): add support for fully customize sidebar #165
  • feat(ui): custom elevation for posts #158

Before:

$ 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

1.2.6

13 Jan 16:48
Compare
Choose a tag to compare

New features

  • feat(sns): add bilibili SNS, deleted extra information #104
  • feat(sns): add telegram to sns_footer & sns_share #112
  • feat(pages): allow page icons in sidebar #123

Changes

  • refactor(sns): improve the way of open windows from SNS #103
  • refactor(duoshuo): change duoshuo_thread_key -> duoshuo_thread_key_type #105
  • refactor(sns): simplify conditional display #119
  • refactor(url): improve logo url decision making #124
  • refactor(duoshuo): improve thread key statement #125
  • refactor(markdown): remove no-wrap style of .markdown-Github code
  • refactor(sns): add two default icons #127
  • style(lang): improve french translation #115
  • style(lang): improve english translation #116
  • style(all): beautify code #122
  • style(markdown): remove .markdown-Github code block #126

Bugs fixed

  • fix(lang): sync the i18n
  • fix(url): avoid href is null at theme.url.logo #107 #125

BREAKING CHANGE

  • feat(pages): allow page icons in sidebar #123

Before:

pages:
    page1: "/link1/"
    page2: "/link2/"

After:

pages:
    page1:
        link: "/link1/"
        icon: icon1
    page1:
        link: "/link2/"
        icon: icon2