2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Theme basic info (please don't change)
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-07 11:57:53 +08:00
|
|
|
theme_info:
|
2020-04-08 17:30:05 +08:00
|
|
|
name: ILS
|
2020-09-11 16:03:36 +08:00
|
|
|
version: 2.0.2
|
2020-04-07 12:12:29 +08:00
|
|
|
author: XPoet
|
2020-04-07 11:57:53 +08:00
|
|
|
repository: https://github.com/XPoet/hexo-theme-ils
|
|
|
|
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Theme style settings
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
style:
|
2020-09-11 15:59:10 +08:00
|
|
|
# Theme primary color
|
|
|
|
primary_color: "#0066CC"
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
# favicon
|
|
|
|
favicon: images/favicon.png
|
|
|
|
|
|
|
|
# avatar
|
|
|
|
avatar: images/avatar.png
|
|
|
|
|
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Navigation menu
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-03-13 19:26:09 +08:00
|
|
|
menu:
|
|
|
|
Home: /
|
|
|
|
Archives: /archives
|
2020-09-03 12:27:16 +08:00
|
|
|
# Categories: /categories
|
|
|
|
# Tags: /tags
|
2020-04-08 17:30:05 +08:00
|
|
|
# Links: /links
|
2020-09-02 17:49:53 +08:00
|
|
|
# About: /about
|
2020-04-08 17:30:05 +08:00
|
|
|
# ...
|
2020-03-25 21:34:10 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-07 11:57:53 +08:00
|
|
|
# RSS
|
2020-09-11 15:06:38 +08:00
|
|
|
# Dependencies: hexo-generator-feed
|
|
|
|
# See: https://github.com/hexojs/hexo-generator-feed
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-15 22:30:24 +08:00
|
|
|
rss:
|
2020-09-11 15:06:38 +08:00
|
|
|
enable: false
|
2020-03-13 19:26:09 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Comment plugin
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-07 11:57:53 +08:00
|
|
|
comments:
|
2020-09-11 15:06:38 +08:00
|
|
|
# Valine
|
|
|
|
# See: https://github.com/xCss/Valine
|
2020-04-07 11:57:53 +08:00
|
|
|
valine:
|
2020-04-30 12:24:57 +08:00
|
|
|
enable: false
|
|
|
|
appid: # your leancloud application appid
|
|
|
|
appkey: # your leancloud application appkey
|
|
|
|
meta: # comment input meta, type: Array, values: ['nick','mail','link']
|
|
|
|
placeholder: # your placeholder
|
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
# Gitalk
|
|
|
|
# See: https://github.com/gitalk/gitalk
|
2020-04-14 21:18:37 +08:00
|
|
|
gitalk:
|
|
|
|
enable: false
|
2020-04-30 12:24:57 +08:00
|
|
|
github_id: # GitHub repo owner
|
2020-09-11 15:06:38 +08:00
|
|
|
repository: # Repository name to store issues
|
2020-04-30 12:24:57 +08:00
|
|
|
client_id: # GitHub Application Client ID
|
|
|
|
client_secret: # GitHub Application Client Secret
|
2020-03-23 21:21:33 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Website count
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-30 12:24:57 +08:00
|
|
|
website_count:
|
2020-09-11 15:06:38 +08:00
|
|
|
# busuanzi
|
|
|
|
# See: http://ibruce.info/2015/04/04/busuanzi/
|
2020-04-30 12:24:57 +08:00
|
|
|
busuanzi_count:
|
|
|
|
enable: false
|
|
|
|
site_uv: false
|
|
|
|
site_pv: false
|
|
|
|
page_pv: false
|
2020-03-29 19:54:28 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-03-29 19:54:28 +08:00
|
|
|
# Local Search
|
2020-09-11 15:06:38 +08:00
|
|
|
# Dependencies: hexo-generator-searchdb
|
|
|
|
# See: https://github.com/theme-next/hexo-generator-searchdb
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-03-29 19:54:28 +08:00
|
|
|
local_search:
|
2020-04-30 12:24:57 +08:00
|
|
|
enable: true
|
|
|
|
|
2020-03-29 19:54:28 +08:00
|
|
|
# If auto, trigger search by changing input.
|
|
|
|
# If manual, trigger search by pressing enter key or search button.
|
2020-04-30 12:24:57 +08:00
|
|
|
trigger: auto # values: auto | manual
|
|
|
|
|
2020-03-29 19:54:28 +08:00
|
|
|
# Unescape html strings to the readable one.
|
|
|
|
unescape: false
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-03-29 19:54:28 +08:00
|
|
|
# Preload the search data when the page loads.
|
2020-04-18 17:26:29 +08:00
|
|
|
preload: false
|
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-02 16:19:39 +08:00
|
|
|
# Post word count
|
2020-09-11 15:06:38 +08:00
|
|
|
# Dependencies: hexo-wordcount
|
|
|
|
# See: https://github.com/willin/hexo-wordcount
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-02 16:19:39 +08:00
|
|
|
post_wordcount:
|
2020-09-11 15:06:38 +08:00
|
|
|
enable: false
|
2020-09-02 16:19:39 +08:00
|
|
|
wordcount: false # word count, one article
|
|
|
|
min2read: false # time to read, one article
|
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-03 12:27:16 +08:00
|
|
|
# Home page article block display settings
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-03 12:27:16 +08:00
|
|
|
home_article:
|
2020-09-11 15:06:38 +08:00
|
|
|
category:
|
|
|
|
enable: false # show category in home page article block
|
|
|
|
limit: 3 # max number of categories shown in home page article block
|
|
|
|
tag:
|
|
|
|
enable: false # show tags in home page article block
|
|
|
|
limit: 5 # max number of tags shown in home page article block
|
|
|
|
|
2020-09-03 12:27:16 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Code copy
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-30 12:24:57 +08:00
|
|
|
code_copy:
|
|
|
|
enable: true
|
2020-09-11 15:06:38 +08:00
|
|
|
style: flat # values: default | flat | mac
|
|
|
|
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Sidebar tools
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-30 12:24:57 +08:00
|
|
|
side_tools:
|
2020-09-11 15:06:38 +08:00
|
|
|
enable: false
|
|
|
|
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Back to top
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-30 12:24:57 +08:00
|
|
|
back2top:
|
2020-09-11 15:06:38 +08:00
|
|
|
enable: false
|
|
|
|
|
2020-04-21 10:47:36 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-21 10:47:36 +08:00
|
|
|
# Table of Contents in the Sidebar
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-21 10:47:36 +08:00
|
|
|
toc:
|
2020-09-11 15:06:38 +08:00
|
|
|
enable: false
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-04-21 10:47:36 +08:00
|
|
|
# Automatically add list number to toc.
|
|
|
|
number: true
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-04-21 10:47:36 +08:00
|
|
|
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
|
2020-04-29 16:08:43 +08:00
|
|
|
expand_all: true
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Magic
|
2020-09-15 15:33:49 +08:00
|
|
|
# ----------------------------------------------------------------------------------
|
2020-04-24 22:49:10 +08:00
|
|
|
magic:
|
|
|
|
enable: true
|
2020-09-11 15:06:38 +08:00
|
|
|
scale: false # scale effect when the mouse hover
|
|
|
|
shadow: false # shadow effect when the mouse hover
|