更新 _config.yml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s

This commit is contained in:
penn 2025-02-08 11:25:52 +08:00
parent 32bdce8374
commit 5e5586b738

View File

@ -1,114 +1,116 @@
# Hexo Configuration # Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html ## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/ ## Source: https://github.com/hexojs/hexo/
# Site # Site
title: 和和日志🌈 title: 和和日志🌈
subtitle: '记录生活' subtitle: '记录生活'
description: '记录生活的,分享学习的' description: '记录生活的,分享学习的'
keywords: 和和日志 记录生活 keywords: 和和日志 记录生活
author: hehe author: hehe
language: zh-CN language: zh-CN
timezone: 'Asia/Shanghai' timezone: 'Asia/Shanghai'
# URL # URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: https://blog.yhehe.com url: https://blog.yhehe.com
permalink: :title/ permalink: :title/
permalink_defaults: permalink_defaults:
pretty_urls: pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks 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 trailing_html: true # Set to false to remove trailing '.html' from permalinks
## Plugins: https://hexo.io/plugins/ ## Plugins: https://hexo.io/plugins/
Plugins: Plugins:
hexo-generator-feed hexo-generator-feed
# Directory # Directory
source_dir: source source_dir: source
public_dir: public public_dir: public
tag_dir: tags tag_dir: tags
archive_dir: archives archive_dir: archives
category_dir: categories category_dir: categories
code_dir: downloads/code code_dir: downloads/code
i18n_dir: :lang i18n_dir: :lang
skip_render: skip_render:
# Writing # Writing
new_post_name: :title.md # File name of new posts new_post_name: :title.md # File name of new posts
default_layout: post default_layout: post
titlecase: false # Transform title into titlecase titlecase: false # Transform title into titlecase
external_link: external_link:
enable: true # Open external links in new tab enable: true # Open external links in new tab
field: site # Apply to the whole site field: site # Apply to the whole site
exclude: '' exclude: ''
filename_case: 0 filename_case: 0
render_drafts: false render_drafts: false
post_asset_folder: false post_asset_folder: false
relative_link: false relative_link: false
future: true future: true
syntax_highlighter: highlight.js syntax_highlighter: highlight.js
highlight: highlight:
line_number: true line_number: true
auto_detect: false auto_detect: false
tab_replace: '' tab_replace: ''
wrap: true wrap: true
hljs: false hljs: false
prismjs: prismjs:
preprocess: true preprocess: true
line_number: true line_number: true
tab_replace: '' tab_replace: ''
# Home page setting # Home page setting
# path: Root path for your blogs index page. (default = '') # path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination) # per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default) # order_by: Posts order. (Order by date descending by default)
index_generator: index_generator:
path: '' path: ''
per_page: 10 per_page: 10
order_by: -date order_by: -date
# Category & Tag # Category & Tag
default_category: uncategorized default_category: uncategorized
category_map: category_map:
tag_map: tag_map:
# Metadata elements # Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta ## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true meta_generator: true
# Date / Time format # Date / Time format
## Hexo uses Moment.js to parse and display date ## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in ## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/ ## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD date_format: YYYY-MM-DD
time_format: HH:mm:ss time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty' ## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime' updated_option: 'mtime'
# Pagination # Pagination
## Set per_page to 0 to disable pagination ## Set per_page to 0 to disable pagination
per_page: 10 per_page: 10
pagination_dir: page pagination_dir: page
# Include / Exclude file(s) # Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder ## include:/exclude: options only apply to the 'source/' folder
include: include:
exclude: exclude:
ignore: ignore:
# Extensions # Extensions
## Plugins: https://hexo.io/plugins/ ## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/ ## Themes: https://hexo.io/themes/
theme: volantis theme: volantis
# Deployment # Deployment
## Docs: https://hexo.io/docs/one-command-deployment ## Docs: https://hexo.io/docs/one-command-deployment
deploy: deploy:
type: '' type: git
feed: repo: ssh://git@gitea.dusays.com:222/xiangfei/photo.git
type: branch: [main]
- atom feed:
- rss2 type:
path: - atom
- atom.xml - rss2
path:
- atom.xml
- rss2.xml - rss2.xml