引言
在数字化时代,个人博客已成为展示个人兴趣、技术专长和生活见解的重要平台。无论是技术分享、生活记录还是艺术展示,一个好的博客都可以助你一臂之力。
Hexo 是一个快速、简单且强大的博客框架,使用 Node.js 构建,支持 Markdown 编辑。它的特点是轻量级、易于配置和扩展,非常适合个人和技术博客使用。配合上 Butterfly 主题,不仅可以让你的博客界面美观大方,还能通过丰富的插件支持增加更多实用功能。
选择 Hexo 和 Butterfly 主题的理由主要包括:
速度快 :Hexo 生成静态文件,加载速度快。
易于使用 :简单的命令行操作即可管理全站。
高度可定制 :Butterfly 主题提供多种定制选项,易于调整样式和功能以适应个人喜好。
强大的社区支持 :广泛的插件生态和活跃的社区支持使得功能扩展和问题解决变得简单。
在本教程中,我们将从零开始,逐步指导你使用 Hexo 和 Butterfly 主题搭建一个个人博客。无论你是技术新手还是有一定基础的开发者,只要跟随步骤,都能建立起一个属于自己的博客空间。
准备工作
在开始使用 Hexo 搭建博客之前,需要确保你的系统中安装了一些必需的软件。这些软件是搭建和运行 Hexo 博客的基础。以下是必备软件的详细安装指南:
安装 Node.js
访问 Node.js 官网 :打开浏览器,访问 Node.js 官网 。
选择版本下载 :在主页上,你会看到“LTS”和“Current”两种版本。推荐选择“LTS”(长期支持版)因为它更稳定。
下载安装包 :根据你的操作系统选择相应的下载链接(Windows 或 macOS)。Linux 用户可能需要通过包管理器安装。
安装软件 :
对于 Windows,运行下载的安装程序并跟随向导指示操作。
对于 macOS,打开安装包,并拖动 Node.js 到应用程序文件夹。
对于 Linux,通常可以通过运行如 sudo apt install nodejs
的命令来安装。
验证安装 :安装完成后,打开命令行工具,输入以下命令来检查 Node.js 和 npm(Node.js 的包管理器)的安装版本:
这些命令应返回安装的版本号,确认 Node.js 和 npm 已正确安装。
安装 Git
访问 Git 官网 :在浏览器中访问 Git 官网 。
下载安装包 :点击主页上的“Download”链接,选择适合你操作系统的版本下载。
安装软件 :
Windows 用户运行下载的 .exe
文件并遵循安装向导指示。
macOS 用户通常可以通过 Homebrew 安装 Git,使用命令 brew install git
。
Linux 用户可以使用包管理器安装,如 Debian/Ubuntu 系统使用 sudo apt-get install git
。
验证安装 :安装完成后,在命令行输入:
应显示 Git 的版本号,以确认安装成功。
命令行基础
具备基本的命令行操作能力对于使用 Hexo 来说是非常重要的。如果你不熟悉命令行,建议花些时间学习基础命令,如 cd
(改变目录),mkdir
(创建目录),rm
(删除文件或目录)等。
安装并运行 Hexo
安装 Hexo 是搭建博客的第一步,以下是详细的安装指南:
安装 Hexo
打开命令行 :首先,打开你的命令行工具,无论是 Terminal (macOS/Linux) 或是 CMD/shell (Windows)。
全局安装 Hexo :在命令行中输入以下命令,通过 npm(Node.js 的包管理器)来全局安装 Hexo:
这个命令会安装 Hexo 的命令行工具,允许你在任何位置通过命令行操作 Hexo。
验证安装 :安装完成后,输入以下命令来确认 Hexo 是否正确安装:
你应该会看到 Hexo 的版本信息以及一些关于 Node.js 环境的详细信息。
创建你的第一个 Hexo 博客
创建博客目录 :选择一个适当的地方来创建你的博客目录,使用命令:
替换 my-blog
为你希望的博客项目存放目录,类似于D:/Blog
,后续对于博客根目录都用[Blogroot]
表示。
进入博客目录 :
安装依赖 :在[Blogroot]
中,运行以下命令来安装必要的依赖:
一些可能的依赖 :在后续的美化和功能扩展中,你可能还会需要安装一些额外的依赖,比如:
1 2 3 4 5 6 7 8 9 10 npm install hexo-deployer-git --save # git部署插件,必须安装 npm install hexo-generator-feed --save # RSS订阅支持插件,如无需求,可跳过 npm install hexo-generator-sitemap --save # sitemap生成插件,帮助搜索引擎抓取,如无需求,可跳过 npm install hexo-admin --save # 网页端hexo文档管理插件,如无需求,可跳过 npm install hexo-renderer-pug hexo-renderer-stylus --save # `Butterfly`生成基础页面所需的依赖包 后续要用主题就安装
创建基本页面
在[Blogroot]
下,运行以下命令来创建基本的分类、标签页:
1 2 hexo new page categories hexo new page tags
编辑两个基本的页面:
找到[Blogroot]/sources/categories/index.md
,添加对应页面分类:
1 2 3 4 5 --- title: categories date: 2017-05-27 13:47:40 + type: "categories" ---
找到[Blogroot]/sources/tags/index.md
,添加对应页面分类:
1 2 3 4 5 --- title: tags date: 2017-05-27 13:47:40 + type: "tags" ---
同上,当你想要创建新的页面时,只需在[Blogroot]
下:
1 hexo new page [pagename]
创建文章
创建一篇文章,只需在[Blogroot]下:
其内容如下:
1 2 3 4 --- title: myfirst date: 2024-04-04 15:39:15 ---
在其中添加分类及标签信息:
1 2 3 4 5 6 7 8 --- title: myfirst date: 2024-04-04 15:39:15 categories: 建站日记 tags: - hexo - blog ---
简单的书写一些内容:
1 2 3 4 5 6 7 8 9 10 11 12 --- title: myfirst date: 2024-04-04 15:39:15 categories: 建站日记 tags: - hexo - blog --- ## 这是我的建站日记 ### 日记第一篇 很高兴遇见你😀 记得要多看[hexo的官方文档](https://hexo.io/docs/)哦😊
试运行 Hexo 项目
一键三连 :在博客目录中,运行以下命令:
1 hexo cl && hexo g && hexo s
这将清除 Hexo 生成的缓存,生成静态文件,并启动一个本地的 Web 服务器,默认访问地址通常是 http://localhost:4000
。
访问你的博客 :在浏览器中输入 http://localhost:4000
,你应该能看到 Hexo 的默认页面,这表明你的 Hexo 博客已经成功运行了。
补充内容:page与post的frontmatter参数
page参数
解释
title
【必需】页面标题
date
【必需】页面创建日期
type
【必需】标签、分类和友情链接三个页面需要配置
updated
【可选】页面更新日期
description
【可选】页面描述
keywords
【可选】页面关键字
comments
【可选】显示页面评论模块 (默认 true)
top_img
【可选】页面顶部图片
mathjax
【可选】显示mathjax (当设置mathjax的per_page: false时,才需要配置,默认 false)
katex
【可选】显示katex (当设置katex的per_page: false时,才需要配置,默认 false)
aside
【可选】显示侧边栏 (默认 true)
aplayer
【可选】在需要的页面加载aplayer的js和css,请参考文章下面的音乐 配置
highlight_shrink
【可选】配置代码框是否展开 (true/false) (默认为设置中highlight_shrink的配置)
random
【可选】配置友情链接是否随机排序(默认为 false)
post参数
解释
title
【必需】文章标题
date
【必需】文章创建日期
updated
【可选】文章更新日期
tags
【可选】文章标签
categories
【可选】文章分类
keywords
【可选】文章关键字
description
【可选】文章描述
top_img
【可选】文章顶部图片
cover
【可选】文章缩略图(如果没有设置top_img,文章页顶部将显示缩略图,可设为false/图片地址/留空)
comments
【可选】显示文章评论模块(默认 true)
toc
【可选】显示文章TOC(默认为设置中toc的enable配置)
toc_number
【可选】显示toc_number(默认为设置中toc的number配置)
toc_style_simple
【可选】显示 toc 简洁模式
copyright
【可选】显示文章版权模块(默认为设置中post_copyright的enable配置)
copyright_author
【可选】文章版权模块的文章作者
copyright_author_href
【可选】文章版权模块的文章作者链接
copyright_url
【可选】文章版权模块的文章连结链接
copyright_info
【可选】文章版权模块的版权声明文字
mathjax
【可选】显示mathjax(当设置 mathjax 的 per_page: false 时,才需要配置,默认 false )
katex
【可选】显示 katex (当设置 katex 的 per_page: false 时,才需要配置,默认 false )
aplayer
【可选】在需要的页面加载 aplayer 的 js 和 css,请参考文章下面的音乐 配置
highlight_shrink
【可选】配置代码框是否展开(true/false)(默认为设置中 highlight_shrink 的配置)
aside
【可选】显示侧边栏 (默认 true)
abcjs
【可选】加载 abcjs (当设置 abcjs 的 per_page: false 时,才需要配置,默认 false )
初步美化博客
第一步:选择主题
我选 Butterfly - A Simple and Card UI Design theme for Hexo
1 git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
安装的主题可以在[Blogroot]/themes/butterfly/
找到。我选这种,方便管理(懒得在node_modules
中划拉半天)。
1 npm install hexo-theme-butterfly
安装的主题可以在[Blogroot]/node_modules/hexo-theme-butterfly/
找到。
第二步:应用主题
移动主题配置文件 :找到[Blogroot]/themes/butterfly/_config.yml
,将其复制一份到[Blogroot]下,重命名为_config.butterfly.yml
。后续对主题修改都在[Blogroot]/_config.butterfly.yml
中进行,Hexo会自动合并[Blogroot]/themes/butterfly/_config.yml
和 [Blogroot]/_config.butterfly.yml
里的配置。(这样后续就不用多点几次进[Blogroot]/themes/butterfly/
中修改)
设置站点配置文件 :找到[Blogroot]/_config.yml
,在其中搜索theme:
,将之修改为:
第三步:一键三连
在[Blogroot]下一键三连,查看应用butterfly主题后的博客。
1 hexo cl && hexo g && hexo s
个性化化博客
在经过简单的美化之后,就可以将自己的一些信息填入到配置文件中,让项目成为你的个人博客。
博客基础配置
打开站点配置文件[Blogroot]/_config.yml
,找到如下内容,将之修改为自己想要的:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 title: 猫野'blog subtitle: '清夜无尘,月色如银' description: '探索地球物理学前沿,专注于注水诱发地震的深入研究。本站点不仅分享最新的地震研究成果,还提供编程技巧和资源,特别是在前端开发和Python编程方面的实用技术。' keywords: - 地球物理 - 注水诱发地震 - 地震研究 - Python 编程 - 数据分析 - 地震数据处理 author: 猫野 language: zh-CN timezone: ''
Butterfly 主题配置
内容结构
配置顶部导航菜单,包括链接到博客的不同部分。
打开主题配置文件[Blogroot]/_config.butterfly.yml
,找到如下内容,将之修改为自己想要的:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nav: logo: https://tuchuang.voooe.cn/images/2023/12/03/diqiu-da.webp display_title: true fixed: true menu: 文章 || icon-shujia || faa-tada || hide: 归档: /archives/ || icon-guidang || faa-tada 分类: /categories/ || icon-fenlei || faa-tada 标签: /tags/ || icon-biaoqian || faa-tada 我的 || icon-diannaozhuo || faa-tada || hide: 相簿: /album/ || icon-hualang || faa-tada 解压: /play/ || icon-youxi || faa-tada 关于 || icon-feichuan || faa-tada || hide: 本人: /about/ || icon-yuhangyuan2 || faa-tada 留言: /message/ || icon-liuyanban || faa-tada
视觉元素
可以先暂时将要用的素材储存在[Blogroot]/themes/butterfly/source/img/
下,后续可以上传图床,直接将对应的素材来源改为图床链接即可。
特定元素
在主题配置文件[Blogroot]/_config.butterfly.yml中找到如下内容,按需修改:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 avatar: img: https://tuchuang.voooe.cn/images/2024/04/17/avatar.webp effect: false favicon: /img/favicon.ico social: github: https://github.com/fumeng6 || icon-github || faa-tada 邮箱: mailto:6mengfu@gmail.com || icon-youxiang || faa-tada disable_top_img: false index_img: default_top_img: archive_img: tag_img: tag_per_img: category_img: category_per_img: background: url(https://i.loli.net/2019/09/09/5oDRkWVKctx2b6A.png) footer_bg: false mask: header: false footer: false cover: index_enable: true aside_enable: true archives_enable: true position: both default_cover: - https://tuchuang.voooe.cn/images/2023/11/30/fengmian2.webp - https://tuchuang.voooe.cn/images/2023/11/30/fengmian1.webp error_img: flink: /img/load.gif post_page: /img/404.webp error_404: enable: true subtitle: '此页面不存在哦~~~' background: /img/404.gif theme_color: enable: false main: "#49B1F5" paginator: "#00c4b6" button_hover: "#FF7242" text_selection: "#00c4b6" link_color: "#99a9bf" meta_color: "#858585" hr_color: "#A4D8FA" code_foreground: "#F47466" code_background: "rgba(27, 31, 35, .05)" toc_color: "#00c4b6" blockquote_padding_color: "#49b1f5" blockquote_background_color: "#49b1f5" scrollbar_color: "#49b1f5" meta_theme_color_light: "ffffff" meta_theme_color_dark: "#0d0d0d" index_site_info_top: index_top_img_height: subtitle: enable: true effect: true typed_option: source: false sub: category_ui: tag_ui: text_align_justify: false rightside_bottom:
内容设置
在主题配置文件[Blogroot]/_config.butterfly.yml
中找到如下内容,按需修改:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 post_meta: page: date_type: both date_format: relative categories: true tags: true label: true post: date_type: both date_format: relative categories: true tags: true label: true index_post_content: method: 3 length: 500 anchor: auto_update: false click_to_scroll: false photofigcaption: false copy: enable: true copyright: enable: false limit_count: 50 toc: post: true page: false number: true expand: false style_simple: false scroll_percent: true post_copyright: enable: true decode: true author_href: license: CC BY-NC-SA 4.0 license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/ reward: enable: true text: 请猫野吃个披萨🍕~~~ QR_code: - img: https://tuchuang.voooe.cn/images/2023/12/03/weixin.webp link: text: 微信 - img: https://tuchuang.voooe.cn/images/2023/12/03/zhifubao.webp link: text: 支付宝 post_edit: enable: false url: related_post: enable: true limit: 6 date_type: created post_pagination: 2 noticeOutdate: enable: false style: flat limit_day: 500 position: top message_prev: It has been message_next: days since the last update, the content of the article may be outdated. highlight_theme: mac highlight_copy: true highlight_lang: true highlight_shrink: false highlight_height_limit: 300 code_word_wrap: false mathjax: enable: false per_page: false katex: enable: true per_page: false hide_scrollbar: true pangu: enable: true field: post aside: enable: true hide: false button: true mobile: true position: right display: archive: true tag: true category: true card_author: enable: true description: '猫野的个人博客,记录生活和学习的点滴。' button: enable: false icon: text: link: card_announcement: enable: true content: <center>主域名:<br><a href="https://maoye.xyz"><b><font color="#5ea6e5">maoye.xyz</font></b></a> | <a href="https://www.maoye.xyz"><b><font color="#5ea6e5">www.maoye.xyz</font></b></a><br></center> card_recent_post: enable: false limit: 3 sort: date sort_order: card_categories: enable: false limit: 8 expand: none sort_order: card_tags: enable: false limit: 40 color: false orderby: random order: 1 sort_order: card_archives: enable: false type: monthly format: MMMM YYYY order: -1 limit: 8 sort_order: card_webinfo: enable: true post_count: true last_push_date: true sort_order: card_post_series: enable: false series_title: false orderBy: 'date' order: -1 busuanzi: site_uv: true site_pv: true page_pv: true wordcount: enable: true post_wordcount: true min2read: true total_wordcount: true runtimeshow: enable: false publish_date: 4 /1/2024 00 :00:00 newest_comments: enable: false sort_order: limit: 6 storage: 10 avatar: true translate: enable: false default: 繁 defaultEncoding: 2 translateDelay: 0 msgToTraditionalChinese: '繁' msgToSimplifiedChinese: '簡' readmode: true darkmode: enable: true button: true autoChangeMode: 2 start: 8 end: 20 rightside_scroll_percent: true rightside_item_order: enable: false hide: show: footer: owner: enable: true since: 2024 custom_text: 欢迎来到猫野的小世界🙂 copyright: true
美化设置
在主题配置文件[Blogroot]/_config.butterfly.yml
中找到如下内容,按需修改:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 enter_transitions: false activate_power_mode: enable: false colorful: true shake: true mobile: false canvas_ribbon: enable: false size: 150 alpha: 0.6 zIndex: -1 click_to_change: false mobile: false canvas_fluttering_ribbon: enable: false mobile: false canvas_nest: enable: false color: '0,0,255' opacity: 0.7 zIndex: -1 count: 99 mobile: false fireworks: enable: false zIndex: 9999 mobile: false click_heart: enable: false mobile: false clickShowText: enable: false text: fontSize: 15px random: false mobile: false display_mode: light beautify: enable: true field: post title-prefix-icon: '\f0c2' title-prefix-icon-color: '#74C0FC' font: global-font-size: '15px' code-font-size: '14px' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI" , "Helvetica Neue" , Lato, Roboto, "PingFang SC" , "Microsoft JhengHei" , "Microsoft YaHei" , sans-serif code-font-family: consolas, Menlo, "PingFang SC" , "Microsoft JhengHei" , "Microsoft YaHei" , sans-serif blog_title_font: font_link: https://fonts.googleapis.com/css?family=Titillium+Web&display=swap font-family: Titillium Web, 'PingFang SC' , 'Hiragino Sans GB' , 'Microsoft JhengHei' , 'Microsoft YaHei' , sans-serif hr_icon: enable: true icon: icon-top: preloader: enable: true source: 1 pace_css_url: medium_zoom: false fancybox: true
使用体验
附加功能
在主题配置文件[Blogroot]/_config.butterfly.yml中找到如下内容,按需修改:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 inject: head: bottom: aplayerInject: enable: false per_page: false algolia_search: enable: false hits: per_page: 6 local_search: enable: true preload: true top_n_per_article: 1 unescape: false CDN: docsearch: enable: false appId: apiKey: indexName: option: sharejs: enable: true sites: wechat,qq addtoany: enable: false item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link comments: use: Twikoo text: true lazyload: true count: false card_post_count: false twikoo: envId: https://fumeng6-twikoo.hf.space region: visitor: false option: disqus: shortname: apikey: disqusjs: shortname: apikey: option: livere: uid: gitalk: client_id: client_secret: repo: owner: admin: option: valine: appId: appKey: avatar: monsterid serverURLs: bg: visitor: false option: waline: serverURL: bg: pageview: false option: utterances: repo: issue_term: pathname light_theme: github-light dark_theme: photon-dark facebook_comments: app_id: user_id: pageSize: 10 order_by: social lang: zh_TW giscus: repo: repo_id: category_id: theme: light: light dark: dark option: remark42: host: siteId: option: artalk: server: site: visitor: false option: chat_btn: false chat_hide_show: false chatra: enable: false id: tidio: enable: false public_key: daovoice: enable: false app_id: crisp: enable: false website_id: messenger: enable: false pageID: lang: zh_TW baidu_analytics: google_analytics: cloudflare_analytics: microsoft_clarity: google_adsense: enable: false auto_ads: true js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js client: enable_page_level_ads: true site_verification: series: enable: true orderBy: 'title' order: 1 number: true abcjs: enable: false per_page: false mermaid: enable: true theme: light: default dark: dark note: style: modern icons: false border_radius: 3 light_bg_offset: 0
体验优化
在主题配置文件[Blogroot]/_config.butterfly.yml中找到如下内容,按需修改:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 pjax: enable: true exclude: snackbar: enable: true position: top-center bg_light: "#425AEF" bg_dark: "#1f1f1f" instantpage: true lazyload: enable: true field: site placeholder: blur: true pwa: enable: false manifest: /pwa/manifest.json apple_touch_icon: /pwa/apple-touch-icon.png favicon_32_32: /pwa/32.png favicon_16_16: /pwa/16.png mask_icon: /pwa/safari-pinned-tab.svg Open_Graph_meta: enable: true option: css_prefix: true CDN: internal_provider: local third_party_provider: jsdelivr version: false custom_format: option: