mirror of
https://github.com/wahyd4/wahyd4.github.com.git
synced 2026-08-09 05:15:56 +10:00
- language zh-Hans -> zh-CN (NexT has no zh-Hans.yml, fell back to Arabic) - motion disabled (post content invisible without JS animation) - custom styles via head.njk inline CSS (stylus import path broken) - font-size control via body-end.njk - hexo-generator-searchdb for local search - scripts/* -> tools/ (hexo loads scripts/ as plugins, errored on .py/.sh)
98 lines
1.6 KiB
YAML
98 lines
1.6 KiB
YAML
# Hexo Configuration
|
|
## Docs: https://hexo.io/docs/configuration.html
|
|
|
|
# Site
|
|
title: 大染志
|
|
subtitle: Junv's blog
|
|
description: 分享编程、运维、生活与思考
|
|
keywords: junv, wahyd4, blog, toozhao, 大染志
|
|
author: Junv
|
|
language: zh-CN
|
|
timezone: Australia/Melbourne
|
|
|
|
# URL
|
|
url: https://toozhao.com
|
|
root: /
|
|
permalink: :year/:month/:day/:title/
|
|
permalink_defaults:
|
|
pretty_urls:
|
|
trailing_index: false
|
|
trailing_html: false
|
|
|
|
# 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
|
|
default_layout: post
|
|
titlecase: false
|
|
external_link:
|
|
enable: true
|
|
field: site
|
|
exclude:
|
|
filename_case: 0
|
|
render_drafts: false
|
|
post_asset_folder: false
|
|
relative_link: false
|
|
future: true
|
|
syntax_highlighter: highlight.js
|
|
highlight:
|
|
line_number: true
|
|
auto_detect: false
|
|
tab_replace: ''
|
|
wrap: true
|
|
hljs: false
|
|
prismjs:
|
|
preprocess: true
|
|
line_number: true
|
|
tab_replace: ''
|
|
|
|
# Home page setting
|
|
index_generator:
|
|
path: ''
|
|
per_page: 10
|
|
order_by: -date
|
|
|
|
# Category & Tag
|
|
default_category: uncategorized
|
|
category_map:
|
|
tag_map:
|
|
|
|
# Metadata elements
|
|
meta_generator: true
|
|
|
|
# Date / Time format
|
|
date_format: YYYY-MM-DD
|
|
time_format: HH:mm:ss
|
|
updated_option: mtime
|
|
|
|
# Pagination
|
|
per_page: 10
|
|
pagination_dir: page
|
|
|
|
# Include / Exclude file(s)
|
|
include:
|
|
exclude:
|
|
|
|
# Extensions
|
|
theme: next
|
|
|
|
# Search (local search via hexo-generator-searchdb)
|
|
search:
|
|
path: search.xml
|
|
field: post
|
|
content: true
|
|
|
|
# Deployment
|
|
deploy:
|
|
type: git
|
|
repo: https://github.com/wahyd4/wahyd4.github.com.git
|
|
branch: master
|