feat: update config
This commit is contained in:
parent
3d8c7f2921
commit
691647942d
13
_config.butterfly.yml
Normal file
13
_config.butterfly.yml
Normal file
@ -0,0 +1,13 @@
|
||||
nav:
|
||||
logo:
|
||||
display_title: true
|
||||
fixed: false
|
||||
|
||||
menu:
|
||||
主页: / || fas fa-home
|
||||
标签: /tags/ || fas fa-tags
|
||||
分类: /categories/ || fas fa-th
|
||||
归档: /archives/ || fas fa-archive
|
||||
链接||fas fa-list:
|
||||
友链: /link/ || fas fa-link
|
||||
关于: /about/ || fas fa-heart
|
||||
29
_config.yml
29
_config.yml
@ -3,13 +3,13 @@
|
||||
## Source: https://github.com/hexojs/hexo/
|
||||
|
||||
# Site
|
||||
title: Hexo
|
||||
subtitle: ''
|
||||
description: ''
|
||||
keywords:
|
||||
author: John Doe
|
||||
language: en
|
||||
timezone: ''
|
||||
title: 時痕
|
||||
subtitle: "Linloir's Blog"
|
||||
description: "A blog about me, my life, technology and everything worth sharing. 在这里,瞥见我、技术、生活与值得分享的一切。"
|
||||
keywords: "Linloir, blog, technology, life, share, Linloir's Blog, 時痕, 霖落, 博客, 技术, 生活, 分享"
|
||||
author: Linloir
|
||||
language: zh-CN
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
# URL
|
||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||
@ -37,30 +37,33 @@ titlecase: false # Transform title into titlecase
|
||||
external_link:
|
||||
enable: true # Open external links in new tab
|
||||
field: site # Apply to the whole site
|
||||
exclude: ''
|
||||
exclude: ""
|
||||
filename_case: 0
|
||||
render_drafts: false
|
||||
post_asset_folder: false
|
||||
post_asset_folder: true
|
||||
relative_link: false
|
||||
future: true
|
||||
syntax_highlighter: highlight.js
|
||||
highlight:
|
||||
line_number: true
|
||||
auto_detect: false
|
||||
tab_replace: ''
|
||||
tab_replace: " "
|
||||
wrap: true
|
||||
hljs: false
|
||||
prismjs:
|
||||
preprocess: true
|
||||
line_number: true
|
||||
tab_replace: ''
|
||||
tab_replace: " "
|
||||
marked:
|
||||
prependRoot: true
|
||||
postAsset: true
|
||||
|
||||
# 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: ''
|
||||
path: ""
|
||||
per_page: 10
|
||||
order_by: -date
|
||||
|
||||
@ -101,4 +104,4 @@ theme: butterfly
|
||||
# Deployment
|
||||
## Docs: https://hexo.io/docs/one-command-deployment
|
||||
deploy:
|
||||
type: ''
|
||||
type: ""
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
---
|
||||
title: {{ title }}
|
||||
tags:
|
||||
categories:
|
||||
---
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
---
|
||||
title: {{ title }}
|
||||
date: {{ date }}
|
||||
type:
|
||||
---
|
||||
|
||||
@ -2,4 +2,5 @@
|
||||
title: {{ title }}
|
||||
date: {{ date }}
|
||||
tags:
|
||||
categories:
|
||||
---
|
||||
|
||||
6
source/_data/link.yaml
Normal file
6
source/_data/link.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- class_name: 关于我
|
||||
link_list:
|
||||
- name: GitHub
|
||||
link: https://github.com/Linloir
|
||||
- name: BiliBili
|
||||
link: https://space.bilibili.com/57762388
|
||||
5
source/categories/index.md
Normal file
5
source/categories/index.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: 分类
|
||||
date: 2024-10-10 23:30:06
|
||||
type: "categories"
|
||||
---
|
||||
5
source/links/index.md
Normal file
5
source/links/index.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: 友链
|
||||
date: 2024-10-10 23:30:51
|
||||
type: "link"
|
||||
---
|
||||
7
source/tags/index.md
Normal file
7
source/tags/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: 标签
|
||||
date: 2024-10-10 23:29:50
|
||||
type: "tags"
|
||||
orderby: "name"
|
||||
order: 1
|
||||
---
|
||||
Loading…
x
Reference in New Issue
Block a user