设为首页收藏本站

[日记] || 寻常里的我 [复制链接] (189/954)

鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:55 | 显示全部楼层
本帖最后由 宁作我 于 2026-1-2 20:42 编辑

# 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) index_generator: path: '' per_page: 12 order_by: -date
将进酒 |
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:56 | 显示全部楼层
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:56 | 显示全部楼层

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:56 | 显示全部楼层
# 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/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime'
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:57 | 显示全部楼层

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:57 | 显示全部楼层

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:57 | 显示全部楼层
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: bug
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 18:59 | 显示全部楼层

giscus:
  enable: true
  repo: github昵称/blog_comments
  repo_Id:  
  category: Announcements
  category_Id:
  mapping: pathname
  reactions_Enabled: '1'
  emit_Metadata: '0'
  input_Position: bottom
  theme: 'custom_example.css'
  lang: zh-CN
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 19:00 | 显示全部楼层



## Docs: https://hexo.io/docs/one-command-deployment
deploy:
  type: git
  repository: git@github.com:github昵称/github昵称.github.io.git
  branch: main
  
鲜花(201) 鸡蛋(0)
 楼主| 发表于 2026-1-2 19:00 | 显示全部楼层

# offline config passed to sw-precache.
service_worker:
  maximumFileSizeToCacheInBytes: 5242880
  staticFileGlobs:
  - public/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff,woff2}
  stripPrefix: public
  verbose: true
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2026-1-7 11:26 , Processed in 0.020373 second(s), 17 queries , Gzip On, Redis On.


快速回复 返回顶部 返回列表