This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Configuration
You-Kai Zheng edited this page Oct 10, 2020
·
12 revisions
home_page: home.md # filepath under /source/
menu_page: menu.md # filepath under /source/
author_img: # filepath of author image
favicon_url: favicon.png # filepath of favicon
zoom_image: true
codeblock:
# Code Highlight theme
# Available values: normal | night | night eighties | night blue | night bright | solarized | solarized dark | galactic
highlight_theme: normal
comments:
utterances:
enable: false
user: # your github user name
repo: # your github repo name
theme: github-light # github-light | github-dark | github-dark-orange | icy-dark | dark-blue | photon-dark
disqus:
enable: false
shortname: # your disqus shortname
gitalk:
enable: false
githubID: # your github id
repo: # GitHub repository e.g. kaiiiz.github.io
ClientID: # GitHub Application Client ID
ClientSecret: # GitHub Application Client Secret
adminUser: # GitHub repository owner and collaborators
labels: 'gitalk' # GitHub issue labels
distractionFreeMode: true
google_analytics: # UA-XXXXX-Y
home_page: home.md # filename under /source/
This option specified the contents you want to render in home page (home page is the url
entry specified in root _config.yml
)
For instance, if you want to render source/home.md
in home page, you must specified home.md
in this option
menu_page: menu.md # filename under /source/
This option specified the contents you want to render in sidebar menu
For instance, if you want to render source/menu.md
in sidebar menu, you must specified menu.md
in this option
Sidebar menu syntax please check Menu Realtime demo, here is the example in hexo-theme-book-demo: /source/_posts/menu.md