添加hexo-auto-category

This commit is contained in:
赵鑫 2022-08-31 10:07:22 +08:00
parent 68bb861f19
commit f62ee6761a
12 changed files with 213 additions and 30 deletions

View File

@ -125,3 +125,7 @@ sitemap:
rel: false
tags: true
categories: true
auto_category:
enable: true
depth:

87
package-lock.json generated
View File

@ -9,6 +9,7 @@
"version": "0.0.0",
"dependencies": {
"hexo": "^6.2.0",
"hexo-auto-category": "^0.2.1",
"hexo-browsersync": "^0.3.0",
"hexo-deployer-rsync": "^1.0.0",
"hexo-fontawesome": "^2.3.0",
@ -1500,6 +1501,51 @@
"url": "https://opencollective.com/hexo"
}
},
"node_modules/hexo-auto-category": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/hexo-auto-category/-/hexo-auto-category-0.2.1.tgz",
"integrity": "sha512-kIHa+0XV7CZHlcFV9Jg8FJdngLqCBtubSEcXveZMr5D6wftE+Zg3kv4R+xi+nE7wAfDSRW37TUqfgFusrf92Yw==",
"dependencies": {
"hexo-front-matter": "^2.0.0",
"hexo-fs": "^3.1.0"
}
},
"node_modules/hexo-auto-category/node_modules/argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"dependencies": {
"sprintf-js": "~1.0.2"
}
},
"node_modules/hexo-auto-category/node_modules/hexo-front-matter": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/hexo-front-matter/-/hexo-front-matter-2.0.0.tgz",
"integrity": "sha512-IR3tjAyK2Ga/0a/WDAoNy5+n3ju2/mkuAsCDEeGgGLf5+7kkiOkkG/FrnueuYgz0h2MPfWDLBiDsSTCmB0sLCA==",
"dependencies": {
"js-yaml": "^3.13.1"
},
"engines": {
"node": ">=10.13.0"
}
},
"node_modules/hexo-auto-category/node_modules/js-yaml": {
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"dependencies": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
},
"bin": {
"js-yaml": "bin/js-yaml.js"
}
},
"node_modules/hexo-auto-category/node_modules/sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
},
"node_modules/hexo-browsersync": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/hexo-browsersync/-/hexo-browsersync-0.3.0.tgz",
@ -5297,6 +5343,47 @@
"warehouse": "^4.0.1"
}
},
"hexo-auto-category": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/hexo-auto-category/-/hexo-auto-category-0.2.1.tgz",
"integrity": "sha512-kIHa+0XV7CZHlcFV9Jg8FJdngLqCBtubSEcXveZMr5D6wftE+Zg3kv4R+xi+nE7wAfDSRW37TUqfgFusrf92Yw==",
"requires": {
"hexo-front-matter": "^2.0.0",
"hexo-fs": "^3.1.0"
},
"dependencies": {
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"requires": {
"sprintf-js": "~1.0.2"
}
},
"hexo-front-matter": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/hexo-front-matter/-/hexo-front-matter-2.0.0.tgz",
"integrity": "sha512-IR3tjAyK2Ga/0a/WDAoNy5+n3ju2/mkuAsCDEeGgGLf5+7kkiOkkG/FrnueuYgz0h2MPfWDLBiDsSTCmB0sLCA==",
"requires": {
"js-yaml": "^3.13.1"
}
},
"js-yaml": {
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"requires": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
}
},
"sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
}
}
},
"hexo-browsersync": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/hexo-browsersync/-/hexo-browsersync-0.3.0.tgz",

View File

@ -14,6 +14,7 @@
},
"dependencies": {
"hexo": "^6.2.0",
"hexo-auto-category": "^0.2.1",
"hexo-browsersync": "^0.3.0",
"hexo-deployer-rsync": "^1.0.0",
"hexo-fontawesome": "^2.3.0",

View File

@ -1,8 +1,10 @@
---
title: Hello, Hexo!
keywords: []
categories: []
tags: [Hexo]
title: 'Hello, Hexo!'
keywords: [Hexo]
categories:
- Hexo
tags:
- Hexo
sitemap: true
---

View File

@ -1,9 +1,13 @@
---
title: 《那年那兔那些事》 第一季
sitemap: true
keywords: [那年那兔那些事]
categories: [视频]
tags: [YouTube,视频]
keywords:
- 那年那兔那些事
categories:
- YouTube
tags:
- YouTube
- 视频
date: 2022-08-30 21:32:22
---

View File

@ -1,9 +1,13 @@
---
title: 《那年那兔那些事》 第三季
sitemap: true
keywords: [那年那兔那些事]
categories: [视频]
tags: [YouTube,视频]
keywords:
- 那年那兔那些事
categories:
- YouTube
tags:
- YouTube
- 视频
date: 2022-08-30 21:42:22
---

View File

@ -1,9 +1,13 @@
---
title: 《那年那兔那些事》 第二季
sitemap: true
keywords: [那年那兔那些事]
categories: [视频]
tags: [YouTube,视频]
keywords:
- 那年那兔那些事
categories:
- YouTube
tags:
- YouTube
- 视频
date: 2022-08-30 21:39:22
---

View File

@ -1,9 +1,13 @@
---
title: 《那年那兔那些事》 第五季
sitemap: true
keywords: [那年那兔那些事]
categories: [视频]
tags: [YouTube,视频]
keywords:
- 那年那兔那些事
categories:
- YouTube
tags:
- YouTube
- 视频
date: 2022-08-30 22:27:22
---

View File

@ -1,9 +1,13 @@
---
title: 《那年那兔那些事》 第四季
sitemap: true
keywords: [那年那兔那些事]
categories: [视频]
tags: [YouTube,视频]
keywords:
- 那年那兔那些事
categories:
- YouTube
tags:
- YouTube
- 视频
date: 2022-08-30 22:24:22
---

View File

@ -1,10 +1,16 @@
---
title: 记忆游戏
date: 2022-08-30 17:31:35
keywords: [网页,游戏]
categories: [游戏]
tags: [JavaScript, CSS, 游戏]
keywords:
- 网页
- 游戏
categories:
- 作品
- 游戏
tags:
- JavaScript
- CSS
sitemap: true
date: 2022-08-30 17:31:35
---
复刻了一个小游戏...

View File

@ -1,13 +1,20 @@
---
title: 社会主义核心价值观
date: 2022-08-30 10:31:35
keywords: [网页, 鼠标, 特效]
categories: [特效]
tags: [JavaScript, CSS, 特效]
keywords:
- 网页
- 鼠标
- 特效
categories:
- 作品
- 特效
tags:
- JavaScript
- CSS
sitemap: true
date: 2022-08-30 10:31:35
---
偶然见到某网页上的这个鼠标点击特效,就复刻了一个。
偶然见到某网页上的这个鼠标点击特效,就复刻了一个。请在**演示**中点击试试。
{% raw %}
<style>
@ -27,7 +34,7 @@ sitemap: true
</style>
<div id="demo">
<h1>请点击这里!</h1>
<h1>演示</h1>
</div>
<script>
@ -64,6 +71,8 @@ sitemap: true
<!-- more -->
# 源码
``` html
<style>
#demo {
@ -82,7 +91,7 @@ sitemap: true
</style>
<div id="demo">
<h1>请点击这里!</h1>
<h1>演示</h1>
</div>
<script>

View File

@ -0,0 +1,54 @@
---
title: 在树莓派上安装 Arch Linux
sitemap: true
keywords:
- Raspberry Pi
- 树莓派
- 安装
- Arch Linux
categories:
- 树莓派
tags:
- Raspberry Pi
- Arch Linux
- 树莓派
date: 2022-08-31 08:13:32
---
安装方法汲取自
- https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
- https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4
``` bash Install Arch Linux on Raspberry Pi 3 & 4
# 将 SD 卡插入台式电脑操作
fdisk /dev/sdX # 分区
mkfs.vfat -n BOOT /dev/sdX1 # 200M 做 FAT32(LBA) 分区
mkfs.ext4 -L ROOT /dev/sdX2 # 剩余空间做 Linux 分区
mkdir boot root
mount /dev/sdX1 boot
mount /dev/sdX2 root
wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
bsdtar -xpvf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C root
mv root/boot/* boot -v
sed -i 's/mmcblk0/mmcblk1/g' root/etc/fstab # 注意仅树莓派4需要
sync && sync
umount boot root
rmdir boot root
# 将 SD 卡插入树莓派后启动
# the default user alarm with the password alarm
# the root password is root
pacman-key --init
pacman-key --populate archlinuxarm
hostnamectl set-hostname zhao
vim /etc/hosts
timedatectl set-timezone Asia/Shanghai
usermod -d /home/xin -m alarm
usermod -l xin alarm
groupmod -n xin alarm
echo "Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxarm/$arch/$repo" >> /etc/pacman.d/mirrorlist
pacman -Syyu sudo vim git fish nginx
echo "kernel.printk = 3 3 3 3" >> /etc/sysctl.d/20-quiet-printk.conf
echo "enable_uart=1 nomodeset quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3" >> /boot/config.txt
echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
chsh -s /usr/bin/fish
```