### Metadata Configuration

# headline will be displayed on index page
headline: Hi, There!

# menu link list displayed on navbar
menu:
  # Archives: # title of list item
  #   icon: iconfont icon-work # icon is displayed leftside
  #   link: /archives/ # link
  # Directory:
  #   icon: iconfont icon-folder-close
  #   link: /directory/
  #   icon_only: true # to not display title

# display social information on index page
# set title to false to display icon only
homePageMeta:
  enable: false
  # social: # if enabled, configure like this
  #   github:
  #     icon: iconfont icon-github
  #     link: https://github.com/sshwy
  #     title: false # icon only
  #   codeforcesID:
  #     icon: iconfont icon-codeforces
  #     link: https://codeforces.com/profile/sshwyR
  #     title: sshwyR

# displayed on footer of every page
copyright:
  duration: 2019-2021
  license:
    title: Creative Commons Attribution-ShareAlike 4.0 International License
    link: https://creativecommons.org/licenses/by-sa/4.0/

# display friend links on page footer
# write information in base_dir/source/_data/_firends.yml with following format:
#
# friend:
#   title: 'A Friend'
#   link: https://example.com
#
# the `title' attribute supports html tag for custom style
friends:
  enable: true

### Render & Widgets Configuration

# katex (client side render)
katex: true

# buttons fixed on the right bottom side of your screen
button:
  back2top: true # back to top
  darkmode: true # light/dark mode toggler
  comment: true # jump to valine comment

# display the number of characters of the post
wordcount: true

# valine comment configuration
valine:
  enable: true
  appid:
  appkey:
  placeholder:
  visitor: true
  serverURLs: # for chinese users

# local search on navbar
search:
  enable: true

# display recently updated posts
recently:
  enable: true
  count: 6 # max count

# display recommended posts on index page
# write `recommend: true` in frontmatter to make your article recommended
recommend:
  enable: true

# generate a set of directory page under <BLOG_BASE_URL>/directory/
directory:
  enable: true
  title: Directory
  parent_directory: Directory Above
  wordmap:
    home_page: 主页

# Place custom css stylesheet file under base_dir/prism/
# MAKE SURE to replace the .css suffix with .styl!
# view theme_dir/prism/ for builtin prism themes
prismjs:
  theme: # light mode and dark mode theme respectively
    light: prism # name of the style file, no suffix required
    dark: prism-vsc-dark-plus

### Automatization Configuration

# whether update post hash automatically everytime running hexo
# WARNING: it CHANGES frontmatter of source files of your post!
# to disable post hash for *single* post, write `historyHash: false` in frontmatter
historyHash: true

### CDN Configuration

cdn:
  valine: https://cdn.jsdelivr.net/npm/valine
  katex:
    js: https://cdn.jsdelivr.net/npm/katex@0.13.0/dist/katex.min.js
    css: https://cdn.jsdelivr.net/npm/katex@0.13.0/dist/katex.min.css
  leancloud_storage: https://cdn.jsdelivr.net/npm/leancloud-storage@4.11.1/dist/av-min.js
