blog/_config.yml
# Site
title: 星日语
avatar: /asset/avatar.svg
favicon: /asset/favicon.svg
description: '苦难不值得追求,磨练意志是因为苦难无法躲开'
keywords: 博客
author: 涛声依旧
language: zh-CN
timezone: ''

# URL
# # If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://weekdaycare.cn
root: /
# permalink: :year/:month/:day/:title/ # 旧的注释掉
# permalink_defaults: # 旧的注释掉
permalink: posts/:abbrlink/
pretty_urls:
trailing_index: false
abbrlink: # 安装 hexo-abbrlink 插件
alg: crc32 # support crc16(default) and crc32
rep: hex # support dec(default) and hex
drafts: false # (true)Process draft,(false)Do not process draft
# Generate categories from directory-tree
# depth: the max_depth of directory-tree you want to generate, should > 0
auto_category:
enable: false # 默认为 true, 手改改为 false
depth:

# 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: :year-:month-:day-:title.md # 创建新文章名称
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: false
auto_detect: false
tab_replace: ''
wrap: true
hljs: false
prismjs:
enable: false
preprocess: false
line_number: false
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)
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
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/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime'

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

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

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: stellar

# Mathjax
mathjax:
tags: none # or 'ams' or 'all'
single_dollars: true # enable single dollar signs as in-line math delimiters
cjk_width: 0.9 # relative CJK char width
normal_width: 0.6 # relative normal (monospace) width
append_css: true # add CSS to pages rendered by MathJax
every_page: false # if true, every page will be rendered by MathJax regardless the `mathjax` setting in Front-matter
packages: # extra packages to load
extension_options: {}
# you can put your extension options here
# see http://docs.mathjax.org/en/latest/options/input/tex.html#tex-extension-options for more detail

# rss
feed: # 安装 hexo-genrate-rss 插件
enable: true
type: atom
path: atom.xml
limit: 6
hub:
content: true
content_limit:
content_limit_delim: ' '
order_by: -date
icon: /asset/avatar.svg
autodiscovery: true
template:

# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
- type: git # 安装 hexo-deploy-git 插件
message: 🎉Update my site
repository: git@github.com:weekdaycare/weekdaycare.github.io.git
branch: main

陕ICP备2022011813 | 由又拍云提供CDN加速
| 基于 Stellar 主题
十年之约