search: # Choose: algolia_search / local_search / docsearch # leave it empty if you don't need search use:local_search placeholder:搜索
# Algolia Search algolia_search: # Number of search results per page hitsPerPage:6
# Local Search local_search: # Preload the search data when the page loads. preload:true # Show top n results per article, show all results by setting to -1 top_n_per_article:-1 # Unescape html strings to the readable one. unescape:true CDN:
# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url:https://butterfly.js.org root:/ # permalink: :year/:month/:day/:title/ permalink:posts/:abbrlink/
# abbrlink config # 需要安装npm install hexo-abbrlink --save abbrlink: alg:crc32#support crc16(default) and crc32 rep:hex#support dec(default) and hex drafts:false#(true)Process draft,(false)Do not process draft. false(default) # Generate categories from directory-tree # depth: the max_depth of directory-tree you want to generate, should > 0 auto_category: enable:false#true(default) depth:#3(default) over_write:false auto_title:false#enable auto title, it can auto fill the title by path auto_date:false#enable auto date, it can auto fill the date by time today force:false#enable force mode,in this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had abbrlink.
permalink_defaults: pretty_urls: trailing_index:false# Set to false to remove trailing 'index.html' from permalinks trailing_html:false# Set to false to remove trailing '.html' from permalinks
# encrypt: # hexo-blog-encrypt # 安装 npm install hexo-blog-encrypt --save # abstract: Here's something encrypted, password is required to continue reading. # message: Hey, password is required here. # template: <div id="hexo-blog-encrypt" data-wpm="{{hbeWrongPassMessage}}" data-whm="{{hbeWrongHashMessage}}"><div class="hbe-input-container"><input type="password" id="hbePass" placeholder="{{hbeMessage}}" /><label>{{hbeMessage}}</label><div class="bottom-line"></div></div><script id="hbeData" type="hbeData" data-hmacdigest="{{hbeHmacDigest}}">{{hbeEncryptedData}}</script></div> # wrong_pass_message: Oh, this is an invalid password. Check and try again, please. # wrong_hash_message: Oh, these decrypted content cannot be verified, but you can still have a look.