chore: update blog content and config
This commit is contained in:
+92
-35
@@ -1,104 +1,161 @@
|
||||
# Hexo Configuration
|
||||
## Docs: https://hexo.io/docs/configuration.html
|
||||
## Source: https://github.com/hexojs/hexo/
|
||||
# ============================================================
|
||||
# Hexo 全局配置文件
|
||||
# 官方文档: https://hexo.io/docs/configuration.html
|
||||
# 源码参考: https://github.com/hexojs/hexo/
|
||||
# ============================================================
|
||||
|
||||
# Site
|
||||
# ==================== 站点基本信息 ====================
|
||||
# 网站标题
|
||||
title: 62117684535a5ba2
|
||||
# 网站副标题
|
||||
subtitle: ''
|
||||
# 网站描述
|
||||
description: 4e004e2a7528 Hexo 642d5efa7684535a5ba2
|
||||
# 网站关键词,多个关键词可用逗号分隔或写成数组
|
||||
keywords:
|
||||
# 作者名称
|
||||
author: wa feng
|
||||
# 网站语言
|
||||
language: zh-CN
|
||||
# 时区,留空时通常使用系统默认时区
|
||||
timezone: ''
|
||||
|
||||
# URL
|
||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||
# ==================== 网站链接与文章链接格式 ====================
|
||||
# 网站主地址,例如 https://example.com
|
||||
url: https://blog.987119.xyz
|
||||
# 文章永久链接格式
|
||||
permalink: :year/:month/:day/:title/
|
||||
# 永久链接的默认变量,可按需补充
|
||||
permalink_defaults:
|
||||
# 伪静态链接设置
|
||||
pretty_urls:
|
||||
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
|
||||
trailing_html: true # Set to false to remove trailing '.html' from permalinks
|
||||
# 设为 false 可移除链接结尾的 index.html
|
||||
trailing_index: true
|
||||
# 设为 false 可移除链接结尾的 .html
|
||||
trailing_html: true
|
||||
|
||||
# Directory
|
||||
# ==================== 目录结构 ====================
|
||||
# 源文件目录
|
||||
source_dir: source
|
||||
# 生成后的静态文件目录
|
||||
public_dir: public
|
||||
# 标签页目录
|
||||
tag_dir: tags
|
||||
# 归档页目录
|
||||
archive_dir: archives
|
||||
# 分类页目录
|
||||
category_dir: categories
|
||||
# 代码下载目录
|
||||
code_dir: downloads/code
|
||||
# 多语言目录
|
||||
i18n_dir: :lang
|
||||
# 跳过渲染的文件或目录,可写通配规则
|
||||
skip_render:
|
||||
|
||||
# Writing
|
||||
new_post_name: :title.md # File name of new posts
|
||||
# ==================== 写作与渲染设置 ====================
|
||||
# 新文章默认文件名格式
|
||||
new_post_name: :title.md # 新文章文件名格式
|
||||
# 新文章默认布局
|
||||
default_layout: post
|
||||
titlecase: false # Transform title into titlecase
|
||||
# 是否把标题自动转成 Title Case
|
||||
titlecase: false # 是否自动转换标题大小写
|
||||
# 外部链接处理设置
|
||||
external_link:
|
||||
enable: true # Open external links in new tab
|
||||
field: site # Apply to the whole site
|
||||
# 是否让外链默认在新标签页打开
|
||||
enable: true # 外链在新标签页打开
|
||||
# 生效范围:site 表示全站,post 表示仅文章
|
||||
field: site # 应用于全站
|
||||
# 排除的域名或链接
|
||||
exclude: ''
|
||||
# 文件名大小写策略
|
||||
# 0: 不修改,1: 转小写,2: 转大写
|
||||
filename_case: 0
|
||||
# 是否渲染草稿文章
|
||||
render_drafts: false
|
||||
# 是否为每篇文章创建同名资源文件夹
|
||||
post_asset_folder: false
|
||||
# 是否使用相对链接
|
||||
relative_link: false
|
||||
# 是否发布未来日期的文章
|
||||
future: true
|
||||
# 代码高亮引擎,可选 highlight.js 或 prismjs
|
||||
syntax_highlighter: highlight.js
|
||||
|
||||
# highlight.js 配置
|
||||
highlight:
|
||||
# 是否显示行号
|
||||
line_number: true
|
||||
# 是否自动检测语言
|
||||
auto_detect: false
|
||||
# Tab 替换内容
|
||||
tab_replace: ''
|
||||
# 是否自动包裹代码块
|
||||
wrap: true
|
||||
# 是否使用 hljs 样式类
|
||||
hljs: false
|
||||
|
||||
# PrismJS 配置
|
||||
prismjs:
|
||||
# 是否在渲染前预处理
|
||||
preprocess: true
|
||||
# 是否显示行号
|
||||
line_number: true
|
||||
# Tab 替换内容
|
||||
tab_replace: ''
|
||||
|
||||
# Home page setting
|
||||
# path: Root path for your blogs index page. (default = '')
|
||||
# per_page: Posts displayed per page. (0 = disable pagination)
|
||||
# order_by: Posts order. (Order by date descending by default)
|
||||
# ==================== 首页设置 ====================
|
||||
# path: 博客首页路径,默认空字符串表示根路径
|
||||
# per_page: 每页显示文章数,0 表示关闭分页
|
||||
# order_by: 排序方式,默认按日期倒序
|
||||
index_generator:
|
||||
path: ''
|
||||
per_page: 10
|
||||
order_by: -date
|
||||
|
||||
# Category & Tag
|
||||
# ==================== 分类与标签 ====================
|
||||
# 文章默认分类
|
||||
default_category: uncategorized
|
||||
# 分类映射,可把旧分类名映射到新分类名
|
||||
category_map:
|
||||
# 标签映射,可把旧标签名映射到新标签名
|
||||
tag_map:
|
||||
|
||||
# Metadata elements
|
||||
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
||||
# ==================== HTML 元数据 ====================
|
||||
# 是否自动生成 meta generator 标签
|
||||
meta_generator: true
|
||||
|
||||
# Date / Time format
|
||||
## Hexo uses Moment.js to parse and display date
|
||||
## You can customize the date format as defined in
|
||||
## http://momentjs.com/docs/#/displaying/format/
|
||||
# ==================== 日期与时间格式 ====================
|
||||
# Hexo 使用 Moment.js 处理日期显示
|
||||
# 日期格式参考: http://momentjs.com/docs/#/displaying/format/
|
||||
# 文章日期显示格式
|
||||
date_format: YYYY-MM-DD
|
||||
# 时间显示格式
|
||||
time_format: HH:mm:ss
|
||||
## updated_option supports 'mtime', 'date', 'empty'
|
||||
# 更新时间取值方式:mtime / date / empty
|
||||
updated_option: 'mtime'
|
||||
|
||||
# Pagination
|
||||
## Set per_page to 0 to disable pagination
|
||||
# ==================== 分页设置 ====================
|
||||
# 每页显示的文章数,设为 0 可关闭分页
|
||||
per_page: 10
|
||||
# 分页目录名称
|
||||
pagination_dir: page
|
||||
|
||||
# Include / Exclude file(s)
|
||||
## include:/exclude: options only apply to the 'source/' folder
|
||||
# ==================== 文件包含/排除规则 ====================
|
||||
# include / exclude / ignore 仅对 source/ 目录生效
|
||||
# 强制包含的文件
|
||||
include:
|
||||
# 排除处理的文件
|
||||
exclude:
|
||||
# 忽略监听或处理的文件
|
||||
ignore:
|
||||
|
||||
# Extensions
|
||||
## Plugins: https://hexo.io/plugins/
|
||||
## Themes: https://hexo.io/themes/
|
||||
# ==================== 扩展配置 ====================
|
||||
# 当前主题名称
|
||||
theme: butterfly
|
||||
|
||||
# Deployment
|
||||
## Docs: https://hexo.io/docs/one-command-deployment
|
||||
# ==================== 部署配置 ====================
|
||||
# 一键部署配置,需配合对应部署插件使用
|
||||
# 文档: https://hexo.io/docs/one-command-deployment
|
||||
deploy:
|
||||
# 部署方式,例如 git、sftp、rsync 等
|
||||
type: ''
|
||||
|
||||
Reference in New Issue
Block a user