From 34d730b0d429b9af04b30259c4af969ce33a928e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E9=A3=8E?= Date: Thu, 13 Feb 2025 23:23:42 +0800 Subject: [PATCH] add permenent link --- _config.yml | 7 ++++++- package.json | 1 + source/_posts/hello-world.md | 1 + source/_posts/千寻产品线一张图.md | 3 ++- source/_posts/客户需求输入格式.md | 8 ++++++++ source/_posts/魏简.md | 1 + 6 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 source/_posts/客户需求输入格式.md diff --git a/_config.yml b/_config.yml index 5c239ee..4efa264 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,8 @@ timezone: '' # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' url: https://blog.makefire.fun -permalink: :year/:month/:day/:title/ +# permalink: :year/:month/:day/:title/ +permalink: :abbrlink/ permalink_defaults: pretty_urls: trailing_index: true # Set to false to remove trailing 'index.html' from permalinks @@ -112,6 +113,10 @@ encrypt: abstract: 这篇文章已加密,输入密码查看内容。 message: 输入密码访问本文 +abbrlink: + alg: crc32 # 算法,支持 crc16 和 crc32,默认是 crc16 + rep: hex # 进制,支持 dec(十进制)和 hex(十六进制),默认是 dec + # Deployment ## Docs: https://hexo.io/docs/one-command-deployment deploy: diff --git a/package.json b/package.json index 4997e87..5cc22d5 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "hexo": "^7.0.0", + "hexo-abbrlink": "^2.2.1", "hexo-blog-encrypt": "^3.1.9", "hexo-generator-archive": "^2.0.0", "hexo-generator-category": "^2.0.0", diff --git a/source/_posts/hello-world.md b/source/_posts/hello-world.md index 1bb29dc..90da660 100644 --- a/source/_posts/hello-world.md +++ b/source/_posts/hello-world.md @@ -2,6 +2,7 @@ title: Hello World index_img: /img/avatar.png password: 1S59 +abbrlink: helloworld --- 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). diff --git a/source/_posts/千寻产品线一张图.md b/source/_posts/千寻产品线一张图.md index f8f2f7b..b1b8a59 100644 --- a/source/_posts/千寻产品线一张图.md +++ b/source/_posts/千寻产品线一张图.md @@ -1,9 +1,10 @@ --- title: 千寻产品线一张图 -date: 2025-02-13 17:08:51 tags: 产品线 sticky: 100 password: 1S59 +abbrlink: a9556152 +date: 2025-02-13 17:08:51 --- diff --git a/source/_posts/客户需求输入格式.md b/source/_posts/客户需求输入格式.md new file mode 100644 index 0000000..435d293 --- /dev/null +++ b/source/_posts/客户需求输入格式.md @@ -0,0 +1,8 @@ +--- +title: 客户需求输入格式 +abbrlink: 8380ac17 +date: 2025-02-13 23:09:24 +tags: +--- + +## 客户需求输入应该包含以下部分 \ No newline at end of file diff --git a/source/_posts/魏简.md b/source/_posts/魏简.md index a57c136..13fa594 100644 --- a/source/_posts/魏简.md +++ b/source/_posts/魏简.md @@ -3,6 +3,7 @@ title: 魏简 date: 2025-02-12 11:35:37 tags: hide: true +abbrlink: myson --- 这是一个测试,是否支持中文搜索?