1.增加中文搜索支持
2.确认主题配置 3.图片引用示例
This commit is contained in:
@@ -83,7 +83,7 @@ fun_features:
|
||||
# 为 subtitle 添加打字机效果
|
||||
# Typing animation for subtitle
|
||||
typing:
|
||||
enable: true
|
||||
enable: false
|
||||
|
||||
# 打印速度,数字越大越慢
|
||||
# Typing speed, the larger the number, the slower
|
||||
@@ -348,7 +348,7 @@ iconfont: //at.alicdn.com/t/c/font_1736178_k526ubmyhba.css
|
||||
navbar:
|
||||
# 导航栏左侧的标题,为空则按 hexo config 中 `title` 显示
|
||||
# The title on the left side of the navigation bar. If empty, it is based on `title` in hexo config
|
||||
blog_title: "Fluid"
|
||||
blog_title:
|
||||
|
||||
# 导航栏毛玻璃特效,实验性功能,可能会造成页面滚动掉帧和抖动,部分浏览器不支持会自动不生效
|
||||
# Navigation bar frosted glass special animation. It is an experimental feature
|
||||
@@ -376,25 +376,30 @@ navbar:
|
||||
|
||||
# 搜索功能,基于 hexo-generator-search 插件,若已安装其他搜索插件请关闭此功能,以避免生成多余的索引文件
|
||||
# Search feature, based on hexo-generator-search. If you have installed other search plugins, please disable this feature to avoid generating redundant index files
|
||||
# search:
|
||||
# enable: true
|
||||
|
||||
# # 搜索索引文件的路径,可以是相对路径或外站的绝对路径
|
||||
# # Path for search index file, it can be a relative path or an absolute path
|
||||
# path: /local-search.xml
|
||||
|
||||
# # 文件生成在本地的位置,必须是相对路径
|
||||
# # The location where the index file is generated locally, it must be a relative location
|
||||
# generate_path: /local-search.xml
|
||||
|
||||
# # 搜索的范围
|
||||
# # Search field
|
||||
# # Options: post | page | all
|
||||
# field: post
|
||||
|
||||
# # 搜索是否扫描正文
|
||||
# # If true, search will scan the post content
|
||||
# content: true
|
||||
|
||||
# 改用 hexo-generator-searchdb 对中文支持更好
|
||||
search:
|
||||
enable: true
|
||||
|
||||
# 搜索索引文件的路径,可以是相对路径或外站的绝对路径
|
||||
# Path for search index file, it can be a relative path or an absolute path
|
||||
path: /local-search.xml
|
||||
|
||||
# 文件生成在本地的位置,必须是相对路径
|
||||
# The location where the index file is generated locally, it must be a relative location
|
||||
generate_path: /local-search.xml
|
||||
|
||||
# 搜索的范围
|
||||
# Search field
|
||||
# Options: post | page | all
|
||||
field: post
|
||||
|
||||
# 搜索是否扫描正文
|
||||
# If true, search will scan the post content
|
||||
content: true
|
||||
path: search.xml
|
||||
|
||||
# 首屏图片的相关配置
|
||||
# Config of the big image on the first screen
|
||||
@@ -445,11 +450,12 @@ open_graph:
|
||||
footer:
|
||||
# 页脚第一行文字的 HTML,建议保留 Fluid 的链接,用于向更多人推广本主题
|
||||
# HTML of the first line of the footer, it is recommended to keep the Fluid link to promote this theme to more people
|
||||
content: '
|
||||
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
|
||||
<i class="iconfont icon-love"></i>
|
||||
<a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
|
||||
'
|
||||
content:
|
||||
# '
|
||||
# <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
|
||||
# <i class="iconfont icon-love"></i>
|
||||
# <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
|
||||
# '
|
||||
|
||||
# 展示网站的 PV、UV 统计数
|
||||
# Display website PV and UV statistics
|
||||
@@ -487,7 +493,7 @@ index:
|
||||
# 头图高度,屏幕百分比
|
||||
# Height ratio of banner image
|
||||
# Available: 0 - 100
|
||||
banner_img_height: 100
|
||||
banner_img_height: 50
|
||||
|
||||
# 头图黑色蒙版的不透明度,available: 0 - 1.0,1 是完全不透明
|
||||
# Opacity of the banner mask, 1.0 is completely opaque
|
||||
@@ -497,7 +503,7 @@ index:
|
||||
# 首页副标题的独立设置
|
||||
# Independent config of home page subtitle
|
||||
slogan:
|
||||
enable: true
|
||||
enable: false
|
||||
|
||||
# 为空则按 hexo config.subtitle 显示
|
||||
# If empty, text based on `subtitle` in hexo config
|
||||
@@ -555,7 +561,7 @@ index:
|
||||
#---------------------------
|
||||
post:
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 70
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
|
||||
# 文章在首页的默认封面图,当没有指定 index_img 时会使用该图片,若两者都为空则不显示任何图片
|
||||
@@ -667,7 +673,7 @@ post:
|
||||
# 版权声明,会显示在每篇文章的结尾
|
||||
# Copyright, will be displayed at the end of each post
|
||||
copyright:
|
||||
enable: true
|
||||
enable: false
|
||||
|
||||
# CreativeCommons license
|
||||
# See: https://creativecommons.org/share-your-work/cclicenses/
|
||||
@@ -919,7 +925,7 @@ discuss:
|
||||
#---------------------------
|
||||
archive:
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 60
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
|
||||
|
||||
@@ -930,7 +936,7 @@ archive:
|
||||
category:
|
||||
enable: true
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 60
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
|
||||
# 分类的排序字段,前面带减号是倒序,不带减号是正序
|
||||
@@ -959,7 +965,7 @@ category:
|
||||
tag:
|
||||
enable: true
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 80
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
tagcloud:
|
||||
min_font: 15
|
||||
@@ -976,17 +982,17 @@ tag:
|
||||
about:
|
||||
enable: true
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 60
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
avatar: /img/avatar.png
|
||||
name: "Fluid"
|
||||
intro: "An elegant theme for Hexo"
|
||||
avatar: /image/beidou.jpeg
|
||||
name: "瑞彩千寻产品线"
|
||||
intro: "GNSS/短报文"
|
||||
# 更多图标可从 https://hexo.fluid-dev.com/docs/icon/ 查找,`class` 代表图标的 css class,添加 `qrcode` 后,图标不再是链接而是悬浮二维码
|
||||
# More icons can be found from https://hexo.fluid-dev.com/docs/en/icon/ `class` is the css class of the icon. If adding `qrcode`, the icon is no longer a link, but a hovering QR code
|
||||
icons:
|
||||
- { class: "iconfont icon-github-fill", link: "https://github.com", tip: "GitHub" }
|
||||
- { class: "iconfont icon-douban-fill", link: "https://douban.com", tip: "豆瓣" }
|
||||
- { class: "iconfont icon-wechat-fill", qrcode: "/img/favicon.png" }
|
||||
# - { class: "iconfont icon-github-fill", link: "https://github.com", tip: "GitHub" }
|
||||
# - { class: "iconfont icon-douban-fill", link: "https://douban.com", tip: "豆瓣" }
|
||||
# - { class: "iconfont icon-wechat-fill", qrcode: "/image/WeChat.jpg" }
|
||||
|
||||
|
||||
#---------------------------
|
||||
@@ -998,7 +1004,7 @@ about:
|
||||
#---------------------------
|
||||
page:
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 60
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
|
||||
|
||||
@@ -1009,7 +1015,7 @@ page:
|
||||
page404:
|
||||
enable: true
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 85
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
# 重定向到首页的延迟(毫秒)
|
||||
# Delay in redirecting to home page (milliseconds)
|
||||
@@ -1023,7 +1029,7 @@ page404:
|
||||
links:
|
||||
enable: true
|
||||
banner_img: /img/default.png
|
||||
banner_img_height: 60
|
||||
banner_img_height: 50
|
||||
banner_mask_alpha: 0.3
|
||||
# 友链的成员项
|
||||
# Member item of page
|
||||
|
||||
Reference in New Issue
Block a user