# The banner image of home page index_img:/images/home_page_background.png
# If the banner of page not setting, it will show the top_img default_top_img:/images/home_page_background.png
# The banner image of archive page archive_img:/images/home_page_background.png
# If the banner of tag page not setting, it will show the top_img # note: tag page, not tags page (子標籤頁面的 top_img) tag_img:/images/home_page_background.png
# The banner image of tag page # format: # - tag name: xxxxx tag_per_img:
# If the banner of category page not setting, it will show the top_img # note: category page, not categories page (子分類頁面的 top_img) category_img:/images/home_page_background.png
noticeOutdate: enable:true style:simple# style: simple/flat limit_day:365# When will it be shown position:top# position: top/bottom message_prev:这篇上古文章出土于 message_next:天前,食用前请核对当前环境是否匹配。
comments: # Up to two comments system, the first will be shown as default # Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42 use:Gitalk text:false# Display the comment name next to the button # lazyload: The comment system will be load when comment element enters the browser's viewport. # If you set it to true, the comment count will be invalid lazyload:false count:false# Display comment count in post's top_img card_post_count:false# Display comment count in Home Page ... # gitalk # https://github.com/gitalk/gitalk gitalk: client_id: {{client_id}} client_secret: {{client_secret}} repo: {{client_repo}} owner:CuratorC admin: ['CuratorC'] option:
本地搜索
安装插件
1
npm install hexo-generator-search --save
修改配置
1 2 3
local_search: enable:true preload:true
谷歌统计
登录谷歌分析的官方网站
找到你的谷歌分析的跟踪 ID
1 2 3
# Google Analytics # https://analytics.google.com/analytics/web/ google_analytics:XX-XXXXXXXXXX
# Global font settings # Don't modify the following settings unless you know how they work (非必要不要修改) font: global-font-size: code-font-size: font-family:PingFangSC code-font-family:CascadiaCodePL
# Font settings for the site title and site subtitle # 左上角網站名字 主頁居中網站名字 blog_title_font: font_link:https://fonts.googleapis.com/css?family=Titillium+Web&display=swap font-family:PingFangSC