114 lines
2.6 KiB
YAML
114 lines
2.6 KiB
YAML
# theme basic info
|
|
theme_info:
|
|
name: ILS
|
|
version: 1.2.0
|
|
author: XPoet
|
|
repository: https://github.com/XPoet/hexo-theme-ils
|
|
|
|
# favicon
|
|
favicon: images/favicon.png
|
|
|
|
# avatar
|
|
avatar: images/avatar.png
|
|
|
|
# navigation menu
|
|
menu:
|
|
Home: /
|
|
Archives: /archives
|
|
# Category: /category
|
|
# Tags: /tags/
|
|
# Links: /links
|
|
# About: /about
|
|
# ...
|
|
|
|
# RSS
|
|
rss:
|
|
enable: true
|
|
|
|
# comment plugin
|
|
comments:
|
|
# Valine https://github.com/xCss/Valine
|
|
valine:
|
|
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
|
|
|
|
# Gitalk https://github.com/gitalk/gitalk
|
|
gitalk:
|
|
enable: false
|
|
github_id: # GitHub repo owner
|
|
repository: # Repository name to store issues
|
|
client_id: # GitHub Application Client ID
|
|
client_secret: # GitHub Application Client Secret
|
|
|
|
# website count
|
|
website_count:
|
|
# busuanzi http://ibruce.info/2015/04/04/busuanzi/
|
|
busuanzi_count:
|
|
enable: false
|
|
site_uv: false
|
|
site_pv: false
|
|
page_pv: false
|
|
|
|
# Local Search
|
|
# Dependencies: https://github.com/theme-next/hexo-generator-searchdb
|
|
local_search:
|
|
enable: true
|
|
|
|
# If auto, trigger search by changing input.
|
|
# If manual, trigger search by pressing enter key or search button.
|
|
trigger: auto # values: auto | manual
|
|
|
|
# Unescape html strings to the readable one.
|
|
unescape: false
|
|
|
|
# Preload the search data when the page loads.
|
|
preload: false
|
|
|
|
# Post word count
|
|
# Dependencies: https://github.com/willin/hexo-wordcount
|
|
post_wordcount:
|
|
wordcount: false # word count, one article
|
|
min2read: false # time to read, one article
|
|
|
|
# Code Copy
|
|
code_copy:
|
|
enable: true
|
|
style: flat # values: default | flat | mac
|
|
|
|
# sidebar tools
|
|
side_tools:
|
|
enable: true
|
|
position: right # values: left | right
|
|
|
|
# back to top
|
|
back2top:
|
|
enable: true
|
|
position: right # values: left | right
|
|
|
|
# Table of Contents in the Sidebar
|
|
toc:
|
|
enable: true
|
|
|
|
# Automatically add list number to toc.
|
|
number: true
|
|
|
|
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
|
|
expand_all: true
|
|
|
|
# magic theme
|
|
magic:
|
|
enable: true
|
|
scale: false
|
|
shadow: true
|
|
sidebar:
|
|
enable: false
|
|
position: right # values: left | right
|
|
|
|
# Home page article block display settings
|
|
home_article:
|
|
tag: true # show tags in article block
|
|
tag_limit: 5 # max number of tags shown in article block
|
|
category: true # show category in article block |