235 Commits

Author SHA1 Message Date
Ryan Wang
c44c5bd40e Update plugin links and documentation URL in README 2025-09-27 11:05:46 +08:00
Ryan Wang
96509b49cc Adjust bottom margin of tag list on post page (#252)
before:

<img width="760" height="278" alt="image" src="https://github.com/user-attachments/assets/9c94afe8-b9ea-4408-931d-8cd5e29ec9f0" />

after:

<img width="766" height="290" alt="image" src="https://github.com/user-attachments/assets/f61daf02-0400-41c2-b0cb-de73934012c2" />

```release-note
调整文章页面标签列表的下边距,以更好的适应内容。
```
2025-09-04 13:19:33 +00:00
Ryan Wang
23be0b2c83 Update theme.yaml v1.13.1 2025-08-06 18:27:44 +08:00
Ryan Wang
bd11cc6c0d Fix inaccessible /categories and /tags routes (#251)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2025-08-06 18:27:29 +08:00
Ryan Wang
3701d3f943 Release 1.13.0 v1.13.0 2025-08-04 14:22:04 +08:00
Anye
eb209f3155 Refactor paginations
为了提升代码的可维护性和一致性,将 tags.html、categories.html 和 archives.html 中的自定义分页逻辑替换为统一的分页模块。这样可以减少重复代码,并简化未来的维护工作。
2025-08-04 14:20:54 +08:00
Ryan Wang
d56c61a046 Add supports for docsme plugin (#250)
* docsme

Signed-off-by: Ryan Wang <i@ryanc.cc>

* Update

Signed-off-by: Ryan Wang <i@ryanc.cc>

* Add setting options

Signed-off-by: Ryan Wang <i@ryanc.cc>

---------

Signed-off-by: Ryan Wang <i@ryanc.cc>
2025-08-04 14:18:36 +08:00
Ryan Wang
0fa83c3729 chore: release 1.12.5
Signed-off-by: Ryan Wang <i@ryanc.cc>
v1.12.5
2025-07-14 12:57:34 +08:00
Ryan Wang
92f53d6a43 Make github markdown styles as default
Signed-off-by: Ryan Wang <i@ryanc.cc>
2025-07-14 10:52:31 +08:00
Ryan Wang
f78e8110f1 Update README.md 2025-05-26 16:51:46 +08:00
Ryan Wang
c45ec68ce7 chore: fix workflow
Signed-off-by: Ryan Wang <i@ryanc.cc>
v1.12.4
2025-03-17 12:52:19 +08:00
Ryan Wang
ff3ca768d8 chore: release 1.12.4
Signed-off-by: Ryan Wang <i@ryanc.cc>
2025-03-17 12:49:04 +08:00
Ryan Wang
11b5d817bd chore: add cd workflow for publishing theme to halo app store (#239)
Add cd workflow for publishing theme to halo app store


```release-note
None
```
2025-03-17 04:47:16 +00:00
虚空云馆
04ae86464d fix: add null check for pagination element before adding event listener (#234)
![2025-01-06_15-48-10](https://github.com/user-attachments/assets/bd532417-750b-44e6-97db-0bbaef467467)

```release-note
修复在 pagination 不存在时添加事件监听器的问题
```
2025-01-06 09:58:22 +00:00
虚空云馆
4776b49724 fix: correct offset for active toc item (#233)
![2025-01-06_15-12-38](https://github.com/user-attachments/assets/eeda6f2f-216d-42b7-ab5c-e50682bcba4f)

```release-note
修复文章目录激活项偏移错误的问题
```
2025-01-06 09:56:22 +00:00
虚空云馆
80b91a5cdf fix: resolve redundant github css loading on singlePage (#231)
```release-note
解决单页面冗余加载 github-markdown.css 的问题
```
2024-12-27 03:49:02 +00:00
Ryan Wang
eb0f91def8 chore: releases 1.12.3 v1.12.3 2024-12-27 10:34:34 +08:00
SkyzcYou
85c360b431 fix: resolve the issue of anchor link positioning not being offset (#229)
Close: #227

移除 tocbot 初始化配置中关于滚动相关的配置,交给浏览器原生行为处理。可以解决使用锚点链接定位未偏移问题。

已在测试如下3中场景,均可正常跳转偏移:

- 直接通过URL访问带hash的链接
- 点击页面内的锚点链接
- 点击目录项

```release-note
修复直接访问文章无法使用目录定位的问题。
```
2024-12-20 04:04:23 +00:00
Ryan Wang
a20a48ac58 feat: make en as default language resource (#228)
将 en 设置为默认语言,防止根据浏览器没有识别到语言包时,页面出现 i18n 字符串的问题。

```release-note
将 en 设置为默认语言,防止根据浏览器没有识别到语言包时,页面出现 i18n 字符串的问题。

```
2024-12-16 07:12:08 +00:00
Ryan Wang
6c2a01b9c0 chore: release 1.12.2 v1.12.2 2024-12-05 11:30:53 +08:00
Ryan Wang
c00c3e9457 fix: correct post count display in categories (#224)
修复分类下文章数量显示不正确的问题。

See https://github.com/halo-dev/halo/issues/7095

/kind bug

```release-note
修复分类下文章数量显示不正确的问题。
```
2024-12-04 07:07:09 +00:00
Anye
f5d2d75616 fix: update subtitle opacity for better visibility in hero module (#221)
fix: update subtitle opacity for better visibility in hero module, close #129 

```release-note
修复首页副标题显示不明显的问题。
```
2024-11-22 02:32:11 +00:00
Anye
df35d55c4f fix: add styling to pagination dropdown options (#222)
```release-note
添加底部分页选择的背景颜色。
```
2024-11-21 04:28:09 +00:00
Ryan Wang
8a015f14ec chore: release 1.12.1 v1.12.1 2024-11-19 23:28:22 +08:00
Ryan Wang
f5f973c6a3 fix: correct Chinese translation for pagination 'next page' text (#220) 2024-11-19 23:27:52 +08:00
Ryan Wang
89dc59ebc2 chore: update Makefile v1.12.0 2024-11-18 17:44:07 +08:00
Ryan Wang
2cab4ff0e6 chore: release 1.12.0 2024-11-18 17:37:00 +08:00
Ryan Wang
2a750e0bf0 refactor: improve color scheme switcher (#218) 2024-11-18 17:35:46 +08:00
Ryan Wang
1949a1ed1c fix: improve category filter accessibility on mobile devices (#217) 2024-11-18 17:19:41 +08:00
Ryan Wang
f024c9cd54 feat: add categories template (#216)
添加 /categories 模板。

/kind feature

Fixes https://github.com/halo-dev/theme-earth/issues/121

```release-note
添加 /categories 模板。
```
2024-11-18 07:06:03 +00:00
Ryan Wang
90e5723a9b chore: update OWNERS 2024-11-18 14:54:02 +08:00
Ryan Wang
7841b6c880 feat: add logo type setting option (#215) 2024-11-18 14:53:15 +08:00
Ryan Wang
03dc038eb7 feat: add i18n supports (#214)
添加界面的 i18n 支持。

/kind feature

Fixes https://github.com/halo-dev/theme-earth/issues/198
Fixes https://github.com/halo-dev/theme-earth/issues/75

```release-note
添加界面的 i18n 支持。
```
2024-11-18 03:08:03 +00:00
Ryan Wang
235c2c20ef fix: resolve CLS issues in page layout (#209)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-11-17 13:25:11 +08:00
Ryan Wang
1f219604ec chore: bump dependencies (#211)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-11-16 11:11:23 +08:00
Ryan Wang
17d15c7c60 fix: missing post count display in category listing (#212)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-11-16 11:09:55 +08:00
Ryan Wang
6b3dc79b37 feat: add setting option for post title position (#213)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-11-16 11:08:58 +08:00
Ryan Wang
4d8475cfc0 refactor: improve posts pagination with direct page navigation (#210)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-11-16 10:13:31 +08:00
Ryan Wang
43616aff40 fix: resolve sorting issue in popular posts widget (#208)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-11-15 21:31:08 +08:00
Ryan Wang
75731b7ba8 fix: add target attribute to footer menu links (#206) 2024-11-15 13:58:14 +08:00
Ryan Wang
33c033fb5a feat: add preload tag for logo image (#207) 2024-11-15 13:58:03 +08:00
Ryan Wang
20e244f43a feat: support dynamic html language attribute (#200)
支持动态设置 HTML 的 lang 属性。

<img width="884" alt="image" src="https://github.com/user-attachments/assets/a6b56278-937a-4862-9292-589330a2b02a">
<img width="924" alt="image" src="https://github.com/user-attachments/assets/a7a2159c-4b97-43dc-9fdb-9e60dd3aa628">

BTW,这个改动只是暂时这样做,因为这个 lang 属性的定义可能是 publisher language,而不是根据用户访问的语言来确定,比如一个完全是中文内容的网站,如果设置为了 en,那么部分字符可能发生改变。不过 Halo 暂时没有设置发布语言的设置项,所以暂时这样做问题也不大。

/kind feature

```release-note
支持动态设置 HTML 的 lang 属性。
```
2024-10-28 04:42:03 +00:00
Ryan Wang
fdc3588c11 chore: release 1.11.1 v1.11.1 2024-10-24 12:23:59 +08:00
Anye
a6a68dade6 Fix the problem of not displaying while configuring ICP only (#196)
```release-note
修复只填写了 ICP 备案号时不显示的问题
```
2024-10-24 02:23:49 +00:00
Ryan Wang
b071c1da54 chore: release 1.11.0 v1.11.0 2024-10-14 12:04:02 +08:00
Anye
e9c87292f8 feat: refine dark mode for menu divider (#191)
为菜单子目录添加 `dark:divide-slate-600`,使其在暗色模式下表现正常

```release-note
None
```
2024-10-14 04:03:17 +00:00
BugKing
f1417cb266 refactor: redirect to current url after login (#189)
登录后 redirect_uri 改为当前所在路径
2024-10-14 12:01:53 +08:00
Ryan Wang
ea43d6fcfe refactor: change login url (#188)
Halo 2.20 将提供新的登录入口(/login),此 PR 用于适配新的登录地址。

See more: https://github.com/halo-dev/halo/pull/6488

/kind improvement

```release-note
适配 Halo 2.20 的新登录入口。
```
2024-10-12 03:31:09 +00:00
Ryan Wang
140612c8d5 refactor: simplify the setting form (#184)
简化设置表单的部分选项,并提供旧数据的兼容。

before:

<img width="627" alt="image" src="https://github.com/user-attachments/assets/511da020-faed-43bb-95b7-2dcc17dfe90d">
<img width="562" alt="image" src="https://github.com/user-attachments/assets/08f7cd4b-ec85-4157-9c2a-5aa7384aa1ab">

after:

<img width="562" alt="image" src="https://github.com/user-attachments/assets/360462e2-35b7-4de6-8435-05a324dbb5d3">
<img width="561" alt="image" src="https://github.com/user-attachments/assets/e4fc8876-9152-424c-b49c-c438f20a0403">


```release-note
简化设置表单的部分选项
```
2024-09-13 08:20:26 +00:00
Meng Sen
36b66a448a feat: add comment widget supports for links page (#183)
Fixes https://github.com/halo-dev/theme-earth/issues/182

```release-note
链接页面支持显示评论区
```
2024-09-09 09:56:04 +00:00