You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hexo-theme-butterfly/_config.yml

256 lines
5.6 KiB
YAML

--- # ---------------
5 years ago
# Theme color for customize
# Notice: color value must in double quotes like "#000" or may cause error!
# ---------------
# theme_color:
# enable: true
# main: "#49B1F5"
# paginator: "#00C4B6"
5 years ago
# button_hover: "#FF7242"
# text_selection: "#00C4B6"
5 years ago
# link_color: "#858585"
# hr_color: "#A4D8FA"
# tag_start_color: "#A4D8FA"
# tag_end_color: "#1B9EF3"
5 years ago
# Main menu navigation
menu:
Home: /
Archives: /archives
Tags: /tags
Categories: /categories
#XXX: /xxx
5 years ago
# Favicon
# ---------------
favicon: /melody-favicon.ico
5 years ago
# PWA
# See https://github.com/JLHwung/hexo-offline
# ---------------
pwa:
enable: false
manifest: /manifest.json
# If you don't want to trouble, just ignore the following things
# See https://realfavicongenerator.net/
# theme_color: "#49B1F5"
# apple_touch_icon: /apple-touch-icon.png
# favicon_32_32: /favicon-32x32.png
# favicon_16_16: /favicon-16x16.png
# mask_icon: /safari-pinned-tab.svg
5 years ago
# Highlight theme
# ---------------
highlight_theme: default
5 years ago
# code_word_wrap: true or false
5 years ago
# Nav settings
# see the icon_name in fontawesome website.
# And you need to add the `fa` or `fab` prefix by your self.
5 years ago
# ---------------
#social:
#icon_name fa: url
#icon_name fab: url
5 years ago
# Algolia search
# ---------------
algolia_search:
enable: false
5 years ago
hits:
per_page: 10
5 years ago
# Local search
# Please see doc for more details: https://molunerfinn.com/hexo-theme-melody-doc/#/third-party-support?id=local-search
# ---------------
local_search:
enable: false
5 years ago
# MathJax
# Please see doc for more details: https://molunerfinn.com/hexo-theme-melody-doc/#/third-party-support?id=mathjax
# ---------------
mathjax:
enable: false
cdn: https://cdn.jsdelivr.net/npm/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML
# KaTeX
# ---------------
katex:
enable: false
cdn:
css: https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css
5 years ago
hide_scrollbar: true
# Analysis
# ---------------
baidu_analytics:
5 years ago
google_analytics:
# Tencent_analytics ID
tencent_analytics:
5 years ago
# stylesheets loaded in the <head>
# ---------------
stylesheets:
- /css/index.css
# scripts loaded in the end of the body
# ---------------
5 years ago
scripts:
- /js/utils.js
- /js/fancybox.js
- /js/sidebar.js
- /js/copy.js
- /js/transition.js
- /js/scroll.js
- /js/head.js
# cdn for third-party library
# ---------------
5 years ago
cdn:
css:
fontawesome: https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css
# fontawesomeV5: https://use.fontawesome.com/releases/v5.3.1/css/all.css
5 years ago
js:
anime: https://cdn.jsdelivr.net/npm/animejs@latest/anime.min.js
5 years ago
jquery: https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js
fancybox: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js
velocity: https://cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js
velocity-ui: https://cdn.jsdelivr.net/npm/velocity-ui-pack@latest/velocity.ui.min.js
5 years ago
# Post info settings
# ---------------
avatar:
5 years ago
top_img: true # false or url of img
5 years ago
post_meta:
date_type: created # created or updated
categories: true
tags: true
5 years ago
# Please see doc for more details: https://molunerfinn.com/hexo-theme-melody-doc/#/additional-package-support?id=word-counting
wordcount:
enable: false
toc:
enable: true
# number: true
5 years ago
post_copyright:
enable: true
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
# Please see doc for more details: https://molunerfinn.com/hexo-theme-melody-doc/#/theme-config?id=auto-excerpt
# auto_excerpt:
# enable: false
# length: 150
5 years ago
# QR_code:
# - itemlist:
# img:
# text:
5 years ago
# adv:
# enable: false
# info:
5 years ago
# Share System
# ---------------
addThis:
enable: false
#pubid:
5 years ago
# sharejs:
# enable: false
# disabled_sites:
5 years ago
# Comments System
# ---------------
disqus:
enable: false
#shortname:
#count:
5 years ago
# laibili:
# enable: false
# uid:
5 years ago
# gitment
# enable: false
# owner:
# repo:
# client_id:
# client_secret:
5 years ago
# gitalk:
# enable: false
# client_id:
# client_secret:
5 years ago
# repo:
# owner:
# admin:
# valine comment system. https://valine.js.org
# valine:
# enable: false # if you want use valine,please set this value is ture
# appId: # leancloud application app id
# appKey: # leancloud application app key
# notify: false # valine mail notify (true/false) https://github.com/xCss/Valine/wiki
# verify: false # valine verify code (true/false)
# pageSize: 10 # comment list page size
# avatar: mm # gravatar style https://valine.js.org/#/avatar
# lang: zh-cn # i18n: zh-cn/en
# placeholder: Just go go # valine comment input placeholder(like: Please leave your footprints )
# guest_info: nick,mail,link #valine comment header inf
5 years ago
# Footer Settings
# ---------------
since: 2013
5 years ago
# footer_custom_text:
5 years ago
ICP:
enable: false
#text:
5 years ago
# busuanzi count for PV / UV in site
busuanzi:
# count values only if the other configs are false
enable: true
# custom uv span for the whole site
5 years ago
site_uv: true
site_uv_header: <i class="fa fa-user"></i>
site_uv_footer:
# custom pv span for the whole site
5 years ago
site_pv: true
site_pv_header: <i class="fa fa-eye"></i>
site_pv_footer:
# custom pv span for one page only
page_pv: true
page_pv_header: <i class="fa fa-file-o"></i>
page_pv_footer:
5 years ago
# Sidebar Settings
# ---------------
#links_title: Links
#links:
#Name: url
5 years ago
# Follow Me Button
# follow:
# enable: true
# url: ''
# text: ''
5 years ago
# Ads
# ---------------
# Google Adsense
google_adsense:
5 years ago
enable: false
js: //pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
client: ca-pub-...........
enable_page_level_ads: true