feat: update config

This commit is contained in:
Linloir 2024-10-10 23:50:17 +08:00
parent 3d8c7f2921
commit 691647942d
Signed by: Linloir
GPG Key ID: 3D6B9EC35C923C81
9 changed files with 55 additions and 13 deletions

13
_config.butterfly.yml Normal file
View 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

View File

@ -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: ""

View File

@ -1,4 +1,5 @@
---
title: {{ title }}
tags:
categories:
---

View File

@ -1,4 +1,5 @@
---
title: {{ title }}
date: {{ date }}
type:
---

View File

@ -2,4 +2,5 @@
title: {{ title }}
date: {{ date }}
tags:
categories:
---

6
source/_data/link.yaml Normal file
View File

@ -0,0 +1,6 @@
- class_name: 关于我
link_list:
- name: GitHub
link: https://github.com/Linloir
- name: BiliBili
link: https://space.bilibili.com/57762388

View File

@ -0,0 +1,5 @@
---
title: 分类
date: 2024-10-10 23:30:06
type: "categories"
---

5
source/links/index.md Normal file
View File

@ -0,0 +1,5 @@
---
title: 友链
date: 2024-10-10 23:30:51
type: "link"
---

7
source/tags/index.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 标签
date: 2024-10-10 23:29:50
type: "tags"
orderby: "name"
order: 1
---