Elegant and powerful theme for Hexo.
+# Show multilingual switcher in footer.
+language_switcher: false
safari_rainbow
option in _config.yml
-# Hide sticky headers and color the menu bar on Safari (iOS / macOS).
-safari_rainbow: false
footer.powered
settings (#1432)
footer:
...
- powered:
- # Hexo link (Powered by Hexo).
- enable: true
- # Version info of Hexo after Hexo link (vX.X.X).
- version: true
-
- theme:
- # Theme & scheme info link (Theme - NexT.scheme).
- enable: true
- # Version info of NexT after scheme info (vX.X.X).
- version: true
+ # Powered by Hexo & NexT
+ powered: true
leancloud_visitors
option server_url
(#1426)
leancloud_visitors:
- betterPerformance: false
+ # Required for apps from CN region
+ server_url: # <your server url>
seo
option in _config.yml
(#1414)For full changes, see the comparison between v7.7.2 and v7.8.0
+darkmode: true
For full changes, see the comparison between v7.7.1 and v7.7.2
# Subscribe through Telegram Channel, Twitter, etc.
# Usage: `Key: permalink || icon` (Font Awesome)
follow_me:
#Twitter: https://twitter.com/username || twitter
#Telegram: https://t.me/channel_name || telegram
#WeChat: /images/wechat_channel.jpg || wechat
#RSS: /atom.xml || rss
For full changes, see the comparison between v7.7.0 and v7.7.1
# Multiple Comment System Support
comments:
# Available values: tabs | buttons
style: tabs
# Choose a comment system to be displayed by default.
# Available values: changyan | disqus | disqusjs | gitalk | livere | valine
active:
# Setting `true` means remembering the comment system selected by the visitor.
storage: true
+ # Lazyload all comment systems.
+ lazyload: false
# Modify texts or order for any navs, here are some examples.
nav:
#disqus:
# text: Load Disqus
# order: -1
#gitalk:
# order: -2
# Disqus
disqus:
enable: false
shortname:
count: true
- lazyload: false
#post_meta_order: 0
For full changes, see the comparison between v7.6.0 and v7.7.0
-# hexo-generator-feed required for rss support. Leave rss as blank to use site's feed link.
-# Set rss to false to disable feed link. Set rss to specific value if you have burned your feed already.
-rss:
...
# Social Links
# Usage: `Key: permalink || icon`
# Key is the link label showing to end users.
# Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon.
social:
...
- #VK Group: https://vk.com/yourname || vk
...
+ #RSS: /atom.xml || rss
-# Automatically excerpt (Not recommend).
-# Use <!-- more --> in the post to control excerpt accurately.
-auto_excerpt:
- enable: false
- length: 150
...
-# Enable "cheers" for archive page.
-cheers: true
In post front-matter:
toc:
enable: true
number: false
max_depth: 3
reward_settings:
enable: true
comment: Donate comment here.
quicklink:
enable: true
delay: true
timeout: 3000
priority: true
ignores:
# Some deprecated
- toc_max_depth: 4
- toc_number: true
- reward: true
- quicklink: true
In theme's _config.yml:
quicklink:
# Home page and archive page can be controlled through home and archive options below.
- home: true
- archive: true
+ # This configuration item is independent of `enable`.
+ home: false
+ archive: false
For full changes, see the comparison between v7.5.0 and v7.6.0
-# Automatically scroll page to section which is under <!-- more --> mark.
-scroll_to_more: true
For full changes, see the comparison between v7.4.2 and v7.5.0
theme.font.enable
is true (#1058)For full changes, see the comparison between v7.4.1 and v7.4.2
For full changes, see the comparison between v7.4.0 and v7.4.1
Redesigned the sequential configuration of the multi-comment system, which was originally introduced in #1048 of New Features
section below.
# Multiple Comment System Support
comments:
# Available values: tabs | buttons
style: tabs
# Choose a comment system to be displayed by default.
# Available values: changyan | disqus | disqusjs | facebook_comments_plugin | gitalk | livere | valine | vkontakte
active:
# Setting `true` means remembering the comment system selected by the visitor.
storage: true
# Modify texts or order for any navs, here are some examples.
nav:
- #disqus: disqus
- #facebook_comments_plugin: <i class="fa fa-facebook-official" aria-hidden="true"></i> facebook
- #gitalk: Load Gitalk
+ #disqus:
+ # text: Load Disqus
+ # order: -1
+ #facebook_comments_plugin:
+ # text: <i class="fa fa-facebook-official" aria-hidden="true"></i> facebook
+ #gitalk:
See the diff (mostly deletion) of
_config.yml
Now share systems come with plugin hexo-next-share.
Latest docs can be found at Post Widgets and Statistics and Analytics.
math:
- engine: mathjax
- #engine: katex
mathjax:
- cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
- #cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML
+ enable: false
- #mhchem: //cdn.jsdelivr.net/npm/mathjax-mhchem@3
- #mhchem: //cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0
+ mhchem: false
katex:
- cdn: //cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css
- #cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
+ enable: false
- copy_tex:
- enable: false
- copy_tex_js: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js
- copy_tex_css: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css
+ copy_tex: false
pdf:
- pdfobject:
- cdn: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js
- #cdn: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js
mermaid:
- cdn: //cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js
- #cdn: //cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js
vendors:
+ mathjax:
+ mhchem:
+ katex:
+ copy_tex_js:
+ copy_tex_css:
+ pdfobject:
+ mermaid:
generateBefore
(#1043)next
dir (#1062)this
and optimize the loading of cheerio (#1042)comments_count
(#1079)For full changes, see the comparison between v7.3.0 and v7.4.0
font:
...
# Font options:
# `external: true` will load this font family from `host` above.
# `family: Times New Roman`. Without any quotes.
- # `size: x.x`. Use `px` as unit. Default: 16
+ # `size: x.x`. Use `em` as unit. Default: 1 (16px)
-# Polyfill to remove click delays on browsers with touch UIs.
-# Dependencies: https://github.com/theme-next/theme-next-fastclick
-fastclick: false
...
vendors:
...
- # Internal version: 1.0.6
- # See: https://github.com/ftlabs/fastclick
- # Example:
- # fastclick: //cdn.jsdelivr.net/npm/fastclick@1/lib/fastclick.min.js
- # fastclick: //cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js
- fastclick:
-# Baidu Share (does not support https).
-baidushare:
- #type: button
- #type: slide
_config.yml
(#965)avatar:
...
- # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
- opacity: 1
...
codeblock:
- # Manual define the border radius in codeblock, leave it blank for the default value: 1
- border_radius:
-custom_logo:
- enable: false
- image: #/uploads/custom-logo.jpg
+custom_logo: #/uploads/custom-logo.jpg
...
-# Code Highlight theme
-# Available values: normal | night | night eighties | night blue | night bright
-# https://github.com/chriskempson/tomorrow-theme
-highlight_theme: normal
codeblock:
+ # Code Highlight theme
+ # Available values: normal | night | night eighties | night blue | night bright
+ # See: https://github.com/chriskempson/tomorrow-theme
+ highlight_theme: normal
-pace: false
-# Themes list:
-# pace-theme-big-counter | pace-theme-bounce | pace-theme-barber-shop | pace-theme-center-atom
-# pace-theme-center-circle | pace-theme-center-radar | pace-theme-center-simple | pace-theme-corner-indicator
-# pace-theme-fill-left | pace-theme-flash | pace-theme-loading-bar | pace-theme-mac-osx | pace-theme-minimal
-pace_theme: pace-theme-minimal
+pace:
+ enable: false
+ # Themes list:
+ # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple
+ # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal
+ theme: minimal
sidebar:
...
- # Click any blank part of the page to close sidebar (only for Muse | Mist).
- dimmer: false
sidebar:
- # Sidebar Position, available values: left | right (only for Pisces | Gemini).
+ # Sidebar Position.
position: left
#position: right
theme_inject
(#868)theme.font
has empty family value (#1015)_config.yml
(#1034)page settings
part in _config.yml
(#997)_config.yml
(#959)For full changes, see the comparison between v7.2.0 and v7.3.0