NexT

Theme for Hexo

Features

  • Added BreadCrumbs feature. (#136)
  • Added include_raw tag. (#140)
    {% include_raw '_data/templates/custom.html' %}

Optimizations

  • Update translations for core languages.
  • Refactor some tags. (52b754f)

Bug Fixes

  • Fix a syntax issue about IE compatible of valine & Allow to set custom CDN for valine. (#139)

For full changes, see the comparison between 6.0.4 and 6.0.5

Detailed changes for NexT v6.0.5

Breaking Changes

Busuanzi Count (#129)

Old configuration:

-# Show PV/UV of the website/page with busuanzi.
# Get more information on http://ibruce.info/2015/04/04/busuanzi/
busuanzi_count:
- # count values only if the other configs are false
enable: false
- # custom uv span for the whole site
- site_uv: true
- site_uv_header: <i class="fa fa-user"></i>
- site_uv_footer:
- # custom pv span for the whole site
- site_pv: true
- site_pv_header: <i class="fa fa-eye"></i>
- site_pv_footer:
- # custom pv span for one page only
- page_pv: true
- page_pv_header: <i class="fa fa-file-o"></i>
- page_pv_footer:

New configuration:

+# Show Views/Visitors of the website/page with busuanzi.
# Get more information on http://ibruce.info/2015/04/04/busuanzi/
busuanzi_count:
enable: false
+ total_visitors: true
+ total_visitors_icon: user
+ total_views: true
+ total_views_icon: eye
+ post_views: true
+ post_views_icon: eye

Remove signature option and stay only description for exclude users confused when seo: true (#125)

Features

  • Added extlinks on sidebar author links. (#99)
    social_icons:
    ...
    exturl: false
  • Added Turkish translation by https://crowdin.com/profile/intelligencer (#95)
  • Added vendor config for bookmark (#106) and reading_progress (#107)
    vendors:
    ...
    bookmark:
    reading_progress:
  • Added max_content_width config for Gemini Scheme (#103)
    # Manual define the max content width
    # !Only available for Gemini Scheme currently
    # Leave it empty for the default 75% (suggest not less than 1000px)
    max_content_width: 1000px # or 90% for more wide, etc.
  • Added sidebar_width config for Gemini Scheme (#111)
    # Manual define the sidebar width
    # !!Only available for Gemini Scheme currently
    # Leave it empty for the default 240
    sidebar_width:
  • Added Related Posts (#109)
    # Related popular posts
    # Dependencies: https://github.com/tea3/hexo-related-popular-posts
    related_posts:
    enable: false
    title: # custom header, leave empty to use the default one
    display_in_home: false
    params:
    maxCount: 5
    #PPMixingRate: 0.0
    #isDate: false
    #isImage: false
    #isExcerpt: false

Optimizations

  • Update translations for core languages.
  • Update Math and related docs:
    1. Add bootcdn as optional CDN of math engine (#98)
    2. Use jsDelivr as the default math engine CDN (#101)
    3. Add docs about CDNJS blocked by some parts of China.
  • Update: exturl tag — If no arguments exists as title, set title as url (#122)
  • Update: Change default font size to 14px for Code Block (#123)
  • Update algolia search docs with vendors (#119)
  • Update creative commons license (#116)
  • Update description for fonts and highlight_theme (470f026 82ac7af)

Bug Fixes

  • Fixed needmoreshare2 vendors (#104)
  • Fixed: Add missing data-fancybox attribute for fancybox (#126)
  • Fixed justify TOC items in sidebar (#131)
  • Fixed unworked transition in sidebar author links on Mist & Muse (#99)
  • Fixed: Use .length instead of .size() to make it work with jquery 3.1 (#120)

For full changes, see the comparison between 6.0.3 and 6.0.4

Detailed changes for NexT v6.0.4

Breaking Changes

Rename some language code

Please change your hexo/_config.yml:

language: <new language-code>
  • zh-Hans to zh-CN for better compatability. (e1e6cf8)
  • fr-FR and nl-NL to fr and nl. (ee91573, ec5e9db)

Refactored license_content & Fixed excess spaces. (4003a0e)

Features

  • Added: Bookmark feature (#63)
    bookmark:
    enable: true
    save: auto # or manual
  • Added a switch to choice whether it will unescape the HTML strings for local searching (#90)
    local_search:
    ...
    # unescape html strings to the readable one
    unescape: true
  • Added: Support to set whether the sidebar will be shown in each single post. (#93)
    ...
    date: 2018-01-28 21:16:00
    sidebar: false
    ---

    ...
  • Added docs of Algolia search (#91)

Optimizations

  • Updated: Rename en.yml on _en.yml to set undefined language as default.
    If language file will not find by Hexo, Hexo will use first finded language (_en.yml). (03e357b)
  • Updated: Rename «Words count in article» on «Symbols count in article». (9d46733)
  • Updated translation for the core languages.
  • Updated math.per_page to default true to make math lazyloaded. (#66)
  • Updated: Add more seo things. (#85)

Bug Fixes

  • Fixed a little mistakes in MATH.md docs file. (a3a2321, 6582d75, 79582ed)
  • Fixed: Math script loaded in tags and archives pages (#78, #81)
  • Fixed the exists categories/tags count issue in the sidebar. (#87, addition fix to #42)
  • Fixed an issue about the algolia search overlay. (#89)

For full changes, see the comparison between 6.0.2 and 6.0.3

Detailed changes for NexT v6.0.3

Breaking changes

MathJax (#32) [See docs for details]

Old configuration:

-# MathJax Support
-mathjax:
- enable: false
- per_page: false
- cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML

New configuration:

# Math Equations Render Support
math:
enable: false

# Default(false) will load mathjax/katex script EVERY PAGE
# If you set to true, you need to add 'mathjax: true' in Front Matter of post
# in order to render math equations in post
per_page: false

engine: mathjax
#engine: katex

# hexo-rendering-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
mathjax:
# For newMathJax CDN (cdnjs.cloudflare.com) with fallback to oldMathJax (cdn.mathjax.org).
cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
# For direct link to MathJax.js with CloudFlare CDN (cdnjs.cloudflare.com).
#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML
# For automatic detect latest version link to MathJax.js and get from CloudFlare.
#cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML

# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin)
# needed to full Katex support.
katex:
# Use Katex 0.7.1 as default
cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
# If you want to try the latest version of Katex, use one below instead
#cdn: //cdn.jsdelivr.net/katex/latest/katex.min.css

Features

  • Added katex support (#32) (See breaking changes above)
  • Added: Support to lazy load the disqus comments (#34)
    disqus:
    lazyload: true
  • Added cheers_enabled config option (#43)
    # Enable "cheers" for archive page.
    cheers_enabled: true
  • Added pangu.js instead of auto_spacing in hexo (#51, #56)
    # Pangu Support
    # Dependencies: https://github.com/theme-next/theme-next-pangu
    # For more information: https://github.com/vinta/pangu.js
    pangu: true
  • Added updated_diff option to post_meta (#50)
    post_meta:
    created_at: true
    updated_at: true
    updated_diff: true
  • Added: Load custom files from outside the theme (#31, f968ffc, 12fe131, 1cb4d08, 8744238)
    # Redefine custom file paths. Introduced in NexT v6.0.2.
    # If commented, will be used default custom file paths.

    # For example, you want to put your custom styles file
    # outside theme directory in root `source/_data`, set
    # `styles: source/_data/styles.styl`
    custom_file_path:
    #head: source/_data/head.swig
    header: source/_data/header.swig
    #sidebar: source/_data/sidebar.swig

    styles: source/_data/styles.styl
    #mixins: source/_data/mixins.styl
    variables: source/_data/variables.styl

Optimizations

  • Updated google-analytics.swig (#45)
  • Updated translation for the DATA-FILES.md changes. (#47)
  • Updated <img src="/image-url" class="full-image" /> BUG (#52, 5a70fd3)

Bug Fixes

  • Fixed misleading description of gitment (#22)
  • Fixed: move needmoreshare_css to head (#26)
  • Fixed: Turn OFF javascript with motion enable result in a blank page [fix added] (#27, d2be4fa)
  • Fixed a position bug of the github_banner on the mobile layout. (#29, 3337b50)
  • Fixed underlined category under title ends in an extra blank [fix added] (#36, 08d35be)
  • Fixed: Add comment.enable to switch comment conveniently (#39)
  • Fixed: <link rel="canonical" href="URL"/> is wrong! [fix added] (#40, bad4334)
  • Fixed an issue about the categories/tags count. (#42)
  • Fixed: Override theme's scheme from main config [fix added] (#44, 1b0b53a)
  • Fixed reading_progress appear in index (#55)

For full changes, see the comparison between 6.0.1 and 6.0.2

Detailed changes for NexT v6.0.2

0%