shutiao e3e015bcaf feat: add sticky supports for post toc (#74)
#### What type of PR is this?

/kind feature

#### What this PR does / why we need it:

固定了文章目录。
<img width="1255" alt="image" src="https://user-images.githubusercontent.com/114651359/233912961-2d3dea34-7e58-4ded-8b86-022cd9e33650.png">
<img width="1212" alt="image" src="https://user-images.githubusercontent.com/114651359/233913545-27a3df11-227e-4b7b-946e-c1f8b8b2c4a8.png">

#### Which issue(s) this PR fixes:

Ref #49 

#### Special notes for your reviewer:

1、粘性位置,距离顶部5rem,z层50
2、目录最大高度为10rem

#### Does this PR introduce a user-facing change?

```release-note
固定了文章目录栏。
```
2023-04-25 09:16:16 +00:00
2022-10-05 23:26:16 +08:00
2022-10-05 23:26:16 +08:00
2022-12-21 14:42:29 +00:00
2022-11-14 10:48:15 +00:00
2022-10-26 14:58:07 +08:00
2023-03-20 15:02:25 +00:00
2023-03-19 06:12:31 +00:00
2022-10-05 23:26:16 +08:00
2022-10-10 14:51:02 +08:00
2022-11-30 15:31:54 +08:00
2022-11-30 15:31:54 +08:00
2023-03-20 15:02:25 +00:00

Earth

Halo 2.0 的默认主题。

Earth

开发

git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
cd ~/halo2-dev/themes/theme-earth
pnpm install 
pnpm dev

主题开发文档可查阅:https://docs.halo.run/2.0.0-SNAPSHOT/developer-guide/theme/prepare

构建

如果你使用的是 Windows 操作系统,请安装 make 命令并在 Git Bash 或 WSL 中执行。

make build

然后将 dist 目录压缩成 ZIP 格式压缩包即可在 Halo 后台上传安装。

Languages
HTML 71.1%
CSS 19.4%
TypeScript 7.4%
SCSS 1.5%
JavaScript 0.6%