Commit Graph

9 Commits

Author SHA1 Message Date
Ryan Wang
ed652815b9 refactor: improve ui (#153)
优化整体的 UI 和布局。

```release-note
None
```
2024-07-08 09:05:23 +00:00
Takagi
42918cf81c pref: optimize toc to remove empty directories and fix some bugs (#90)
#### What type of PR is this?
/kind improvement

#### What this PR does / why we need it:
对 toc 进行优化。
1、当文章不存在 h1、h2、h3、h4 标题时,去除 toc 目录。
2、删除不正确的 activeClass 设置并添加 `active-li` 的样式

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

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

```release-note
优化 Toc 选中样式,当文章不存在目录时,删除空目录。
```
2023-07-03 06:34:12 +00:00
Ryan Wang
fd7c9250e3 refactor: use repleater input type to define social_media 2022-11-21 17:24:37 +08:00
Ryan Wang
0aee53cb7d fix: deprecated unwrapped fragment expression 2022-10-28 21:40:05 +08:00
Ryan Wang
bf574b7aeb feat: post sidebar support table of content
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-15 14:02:28 +08:00
Ryan Wang
f657f5e62c styles: reformat code
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-10 14:51:02 +08:00
Ryan Wang
ecbcaf8f3a feat: add sidebar widget configurable support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 18:32:49 +08:00
Ryan Wang
1180cce42c feat: preliminary completion of category archive page and sidebar
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 11:37:05 +08:00
Ryan Wang
d39c95bbce feat: preliminary completion of index page and post page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 00:38:24 +08:00