首次提交

This commit is contained in:
xzh
2025-03-27 00:20:19 +08:00
commit 185e180f09
18 changed files with 1347 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
.DS_Store
Thumbs.db
db.json
*.log
node_modules/
public/
.deploy*/
_multiconfig.yml
.idea

0
_config.landscape.yml Normal file
View File

1011
_config.solitude.yml Normal file

File diff suppressed because it is too large Load Diff

104
_config.yml Normal file
View File

@@ -0,0 +1,104 @@
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: xzh
subtitle: 'xzh的博客'
description: 'xzh的博客'
keywords:
author: xzh
language: en
timezone: ''
# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: http://example.com
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
trailing_html: true # Set to false to remove trailing '.html' from permalinks
# 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 # File name of new posts
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
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
# 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: solitude
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ''

27
package.json Normal file
View File

@@ -0,0 +1,27 @@
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"deploy": "hexo deploy",
"server": "hexo server"
},
"hexo": {
"version": "7.3.0"
},
"dependencies": {
"hexo": "^7.3.0",
"hexo-generator-archive": "^2.0.0",
"hexo-generator-category": "^2.0.0",
"hexo-generator-index": "^4.0.0",
"hexo-generator-tag": "^2.0.0",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-marked": "^7.0.0",
"hexo-renderer-pug": "^3.0.0",
"hexo-renderer-stylus": "^3.0.1",
"hexo-server": "^3.0.0",
"hexo-theme-landscape": "^1.0.0"
}
}

4
scaffolds/draft.md Normal file
View File

@@ -0,0 +1,4 @@
---
title: {{ title }}
tags:
---

4
scaffolds/page.md Normal file
View File

@@ -0,0 +1,4 @@
---
title: {{ title }}
date: {{ date }}
---

5
scaffolds/post.md Normal file
View File

@@ -0,0 +1,5 @@
---
title: {{ title }}
date: {{ date }}
tags:
---

64
source/_data/about.yml Normal file
View File

@@ -0,0 +1,64 @@
title: 关于本站
contentinfo: # Top personal information display
sup: 你好,很高兴认识你👋
name: 我是伍十七 # Name
title: 学生, 软件工程师, 独立开发者, 博主 # Introduction
tip: 追求卓越
slogan: 创造源于激情
mask:
- 卓越产品
- 卓越设计
- 高效编程
- 用户友好体验
skills: # Add as needed
title: 技能
subtitle: 解锁创造力
tags:
- title: HTML
# img: https://skillicons.dev/icons?i=html # 如果有图片,则不会显示图标
icon: fab fa-html5
color: "#e9572b"
careers:
title: 生涯
subtitle: 无限进步
image: https://s3.qjqq.cn/47/67a216483c354.png!color
items:
- color: "#357ef5"
school: 软件工程
major: 学习
motto:
title: 座右铭
prefix: 破釜沉舟,
content: 勇往直前。
expertise:
title: 专长
prefix: 数学, 物理, 化学
specialist: 专家
content: 学习能力
level: MAX
cause:
tip: 初衷
title: 为什么建立这个网站?
content:
<br>创建这个网站的初衷是有一个地方可以 <b>积累知识和兴趣</b>。与他人分享可以让这些成为积累和沉淀。如果我能帮助更多的人并解决他们的问题,那就太好了。
<br>
与大多数垂直技术博客不同,这里的类别将非常多样,包括 <b>教程和实用知识</b>、<b>生活轶事和建议</b>、<b>各种主题的思考和想法</b>。无论我研究或发现什么,我都会在这里分享。
<br>
这是创建这个小网站的初衷,也是 <b>我分享生活的方式</b>。我很幸运在这里遇见你,我相信我们可以一起留下一些美好的回忆。
<br>
award:
enable: true
description: 感谢大家的支持和鼓励。因为你们,我感到写作博客可以为你们创造价值。这将使我在这条路上走得更远。
tips: "总金额: ¥ {sum}, 将用于博客的维护和更新。"
rewardList: # Bottom donations
- name: 悦华
money: 5
time: 2023-04-20
icon: fab fa-weixin

14
source/_data/brevity.yml Normal file
View File

@@ -0,0 +1,14 @@
- content: 视频播放测试!
date: 2023-10-31 15:32
video:
bilibili: BV1Cv4y1p717
- content: 音乐播放测试!
date: 2023-10-31 15:32
aplayer:
server: netease
id: 571340283
- content: 主题交流群已建立!
date: 2023-10-31 15:32
image:
- https://7.isyangs.cn/1/65e9de42e32cd-1.png
link: https://efu.me/

15
source/_data/links.yml Normal file
View File

@@ -0,0 +1,15 @@
banner_suffix:
links:
- class_name: 推荐 # 分类名称
descr: 参与本站开发、提供设计灵感、捐助本站的优秀博主 # 分类简介
type: item # 显示方式,有两种 card / item / disco
suffix:
link_list:
- name: Hexo # 友链名称
link: https://hexo.io/ # 友链地址
descr: Hexo 是一个快速、简洁且高效的博客框架 # 友链简介
avatar: /img/pwa/favicon.png # 显示头像
- name: Solitude # 友链名称
link: https://github.com/everfu/hexo-theme-solitude # 友链地址
descr: 一款简单易用的 Hexo 主题 # 友链简介
avatar: /img/logo.png # 显示头像

View File

@@ -0,0 +1,38 @@
---
title: Hello World
---
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).
## Quick Start
### Create a new post
``` bash
$ hexo new "My New Post"
```
More info: [Writing](https://hexo.io/docs/writing.html)
### Run server
``` bash
$ hexo server
```
More info: [Server](https://hexo.io/docs/server.html)
### Generate static files
``` bash
$ hexo generate
```
More info: [Generating](https://hexo.io/docs/generating.html)
### Deploy to remote sites
``` bash
$ hexo deploy
```
More info: [Deployment](https://hexo.io/docs/one-command-deployment.html)

6
source/about/index.md Normal file
View File

@@ -0,0 +1,6 @@
---
title: 关于我
date: 2025-03-24 00:00:00
type: about # 页面类型
comment: false # 关闭评论
---

6
source/gallery/index.md Normal file
View File

@@ -0,0 +1,6 @@
---
title: 图库
description: 这是一个演示页面,用于展示图片库的功能。
date: 2025-03-24 00:00:00
updated: 2025-03-24 00:00:00
---

View File

@@ -0,0 +1,22 @@
---
title: 山
date: 2025-03-24 00:00:00
updated: 2025-03-24 00:00:00
type: banner
cover: https://s3.qjqq.cn/47/6640bb4be6c63.webp!color
container: true
rightbtn: 返回图库
rightbtnlink: /gallery/
---
{% gallery %}
![1737550297013.jpeg](https://s3.qjqq.cn/47/6790e9dd9a337.jpeg!color)
![1737550297013.jpeg](https://s3.qjqq.cn/47/6790e9ddc23dd.jpeg!color)
![1737550297014.jpeg](https://s3.qjqq.cn/47/6790e9ddeb30a.jpeg!color)
![1737550297014.jpeg](https://s3.qjqq.cn/47/6790e9deb155f.jpeg!color)
![1737550297014.jpeg](https://s3.qjqq.cn/47/6790e9df078ad.jpeg!color)
![1737550297014.jpeg](https://s3.qjqq.cn/47/6790e9def12fc.jpeg!color)
![1737550297014.jpeg](https://s3.qjqq.cn/47/6790e9dfc6661.jpeg!color)
![1737550297015.jpeg](https://s3.qjqq.cn/47/6790e9dfddeab.jpeg!color)
{% endgallery %}

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

@@ -0,0 +1,9 @@
---
title: 友情链接
desc: 与数百名博主共同进步
description: 与数百名博主共同进步
date: 2025-03-24 00:00:00
type: links
data: links
banner: false
---

9
source/moment/index.md Normal file
View File

@@ -0,0 +1,9 @@
---
title: 即刻短文
date: 2025-03-24 00:00:00
type: brevity # 页面类型
cover: "https://s3.qjqq.cn/47/674c6e5d63fda.png!color" # 可更换封面
desc: 分享生活的小确幸 # 页面描述
leftend: ""
rightend: ""
---

0
themes/.gitkeep Normal file
View File