Skip to content

Commit

Permalink
Use abbrlink
Browse files Browse the repository at this point in the history
  • Loading branch information
breeze256 committed Dec 14, 2024
1 parent 43dd363 commit 5435097
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 12 deletions.
10 changes: 9 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ timezone: 'Asia/Shanghai'
# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: https://breeze256.is-local.org/
permalink: :year-:month-:day-:title/
permalink: posts/:abbrlink.html
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
Expand Down Expand Up @@ -133,6 +133,14 @@ mathjax:
# you can put your extension options here
# see http://docs.mathjax.org/en/latest/options/input/tex.html#tex-extension-options for more detail

## hexo-abbrlink
abbrlink:
alg: crc32 # Algorithm used to calc abbrlink. Support crc16(default) and crc32
rep: hex # Representation of abbrlink in URLs. Support dec(default) and hex
drafts: false # Whether to generate abbrlink for drafts. (false in default)
force: false # Enable force mode. In this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had an abbrlink. (false in default)
writeback: true # Whether to write changes to front-matters back to the actual markdown files. (true in default)

# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"hexo": "^7.3.0",
"hexo-abbrlink": "^2.2.1",
"hexo-excerpt": "^1.3.1",
"hexo-filter-mathjax": "^0.9.0",
"hexo-generator-archive": "^2.0.0",
Expand Down
82 changes: 82 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions source/_posts/Rust-读入问题.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
---
title: Rust 读入问题
categories: ["学习"]
tags: ["开发", "Rust"]
categories:
- 学习
tags:
- 开发
- Rust
date: 2024/08/23
abbrlink: 325
---

Rust 读取麻烦的一批。一般情况是用 `split(' ')` 来分割整数。
Expand Down
9 changes: 6 additions & 3 deletions source/_posts/VSCode-基本配置.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
title: "VSCode 基本配置"
categories: ["学习"]
tags: ["开发"]
title: VSCode 基本配置
categories:
- 学习
tags:
- 开发
date: 2024/12/14
abbrlink: 84d0b396
---

Visual Studio Code(以下简称VSCode)是一款由微软开发且跨平台的免费源代码编辑器。
Expand Down
7 changes: 5 additions & 2 deletions source/_posts/什么?.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
title: 什么?
categories: ["日常"]
tags: ["鲜花"]
categories:
- 日常
tags:
- 鲜花
date: 2024/09/17
abbrlink: b0c8b193
---

但它间或在长梦中沮丧。它创建的世界无夏,它亦会在黯淡无光之日下战栗;它将其自创之悲伤作为现实。
Expand Down
7 changes: 5 additions & 2 deletions source/_posts/文明依旧,盛极衰否?.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
title: 文明依旧,盛极衰否?
categories: ["日常"]
tags: ["鲜花"]
categories:
- 日常
tags:
- 鲜花
date: 2024/01/24
abbrlink: 23eb3b98
---

历史的清风夹带着感叹,时间的长河裹挟着诉说。自人类诞生,从新石器时代进入文明时代,直至现在,太多的文明于此间兴替,铭刻下独属于自己的刻印。人类,如此伟大而又如此无奈;文明,曾经万般辉煌却又如此脆弱。过去太久远,使人终无法忆其全貌;历史书大长,我无暇追字逐行。此间种种,是无知之煎熬,亦是无奈之苦痛。每每想起,也只得哀吾生之须臾,羡时间之无穷也!
Expand Down
8 changes: 6 additions & 2 deletions source/_posts/矩阵乘法.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
---
title: 矩阵乘法
categories: ["学习"]
tags: ["数学", "矩阵"]
categories:
- 学习
tags:
- 数学
- 矩阵
date: 2024/08/23
mathjax: true
abbrlink: 4ad33c6a
---

设 $A$ 矩阵与 $B$ 矩阵相乘得 $C$ 矩阵,则可记为:
Expand Down

0 comments on commit 5435097

Please sign in to comment.