235 Commits

Author SHA1 Message Date
Ryan Wang
5c1112b403 chore: release 1.10.0 v1.10.0 2024-09-05 17:03:14 +08:00
Ryan Wang
33b7b41f09 refactor: add permission check for post edit button (#180)
为文章页面的编辑按钮添加权限判断。

<img width="419" alt="image" src="https://github.com/user-attachments/assets/99a02618-181f-494e-9d54-61ad1d34f9d0">

```release-note
为文章页面的编辑按钮添加权限判断。
```
2024-09-05 08:57:47 +00:00
Ryan Wang
65fbbee91d feat: add supports for responsive image (#172)
适配 Halo 2.19,支持响应式图片。

/kind feature

```release-note
适配 Halo 2.19,支持响应式图片。
```
2024-09-04 06:25:44 +00:00
Anye
118d19eae9 feat: improve accessibility of scroll-to-top button (#179)
添加回到顶部按钮的aria-label值,提高无障碍评分

```release-note
None
```
2024-09-04 06:05:43 +00:00
Anye
fb961e7bd4 refactor: add condition for icp config (#176)
```release-note
None
```
2024-09-04 02:27:43 +00:00
Anye
c072ac785b refactor: optimize post edit button position (#177)
```release-note
优化文章编辑按钮,防止与滚动到顶部按钮重叠。
```
2024-09-04 02:23:42 +00:00
Ryan Wang
905af3f7fd chore: release 1.9.1 v1.9.1 2024-08-29 13:51:46 +08:00
Ryan Wang
cdc5375ce5 fix: resolve issue with footer menu items not displaying (#169)
Resolve issue with footer menu items not displaying

/kind bug

Fixes #168 

```release-note
修复页脚菜单项名称可能不显示的问题。
```
2024-08-29 03:17:23 +00:00
Ryan Wang
04b6c2b8e0 fix: resolve issue with default title text color not being applied (#167)
Fixes #166 

```release-note
修复首屏标题文字颜色默认值不生效的问题。
```
2024-08-27 03:13:17 +00:00
Ryan Wang
c1b3705e37 chore: release 1.9.0 v1.9.0 2024-08-26 14:56:47 +08:00
Ryan Wang
0cf51c3148 feat: add support for hiding upvote and share buttons on posts (#165)
支持隐藏文章的点赞和分享按钮。

/kind feature

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

```release-note
支持隐藏文章的点赞和分享按钮。
```
2024-08-26 06:49:13 +00:00
Ryan Wang
f43a011527 feat: add color customization for hero section title on homepage (#163)
支持为首页 hero 部分的标题文字设置颜色,以适应背景图片。

/kind feature

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


```release-note
支持为首页 hero 部分的标题文字设置颜色,以适应背景图片。
```
2024-08-26 06:31:14 +00:00
Ryan Wang
0ff535f517 fix: resolve link display issue in share modal (#164)
修复分享弹窗中链接过长导致的样式问题。

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

<img width="609" alt="image" src="https://github.com/user-attachments/assets/e835a037-fff9-47e0-8374-667afe2a7c74">

/kind bug

```release-note
修复分享弹窗中链接过长导致的样式问题。
```
2024-08-26 05:51:13 +00:00
Ryan Wang
50b027acb0 feat: add scroll to top button (#161)
* feat: add scroll to top button

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

* Format code

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

---------

Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-08-22 15:40:11 +08:00
Ryan Wang
a31db0ee86 refactor: logout (#159)
```release-note
修改退出登录的操作方式。
```
2024-08-22 06:56:54 +00:00
Ryan Wang
c98869ca5e chore: integrate husky and lint-staged for pre-commit code formatting (#162)
引入 husky 和 lint-staged,实现在提交代码前格式化修改的代码。

```release-note
None
```
2024-08-22 04:54:53 +00:00
HowieHz
175c40e230 chore: fix unavailable prettier task config (#148)
这个pr修复了不可用的 prettier 脚本
顺便跑了一遍 prettier
https://github.com/guqing/halo-theme-higan/pull/91#issuecomment-2058935471

```release-note
None
```
2024-08-22 03:46:54 +00:00
Anye
0d1176a573 fix: fix sidebar content scrolling issue in article table of contents (#156)
修复文章侧边栏中目录移动问题

```release-note
None
```
2024-07-27 03:35:42 +00:00
Ryan Wang
ed652815b9 refactor: improve ui (#153)
优化整体的 UI 和布局。

```release-note
None
```
2024-07-08 09:05:23 +00:00
Ryan Wang
689e6a3ee5 feat: add issues field for theme manifest (#146)
为 theme.yaml 添加 issues 字段,适配:https://github.com/halo-dev/halo/pull/5755

/kind improvement

```release-note
为 theme.yaml 添加 issues 字段
```
2024-04-28 08:40:59 +00:00
Ryan Wang
e847e95c04 chore: update theme.yaml (#144)
更新 theme.yaml 描述文件。

1. 使用 homepage 代替 website,website 字段将在未来废弃,see https://github.com/halo-dev/halo/pull/4061
2. 添加 license 字段。

```release-note
None
```
2024-04-16 09:56:07 +00:00
Ryan Wang
9d21e678d4 chore: release 1.8.0 v1.8.0 2024-04-15 15:21:40 +08:00
Ryan Wang
69d2b47416 fix: background color issue (#140)
修复使用 GitHub 风格的文章样式时,文章内容背景颜色在暗色下的样式问题。

/kind bug

before:

<img width="476" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/74a1e3a6-d74b-4067-938c-92109a025b48">

after:

<img width="487" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/51db65b0-60e4-40a2-9dc7-b65ee5d353dc">


```release-note
None
```
2024-04-15 07:20:09 +00:00
Ryan Wang
bcf874c09e feat: add support for image formats to social media settings (#139)
侧边站点资料卡片的社交媒体支持图片形式的打开方式。

/kind feature

Fixes #133 

<img width="466" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/20a747b1-d423-4ccc-946a-80054bc9f158">
<img width="1008" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/ae5b0730-16d7-4d28-a88f-d643aa811591">

```release-note
侧边站点资料卡片的社交媒体支持图片形式的打开方式。
```
2024-04-15 06:52:10 +00:00
Ryan Wang
d4562c38de chore: bump dependencies (#138)
升级所有依赖的版本,并简化部分 TailwindCSS 的写法。

/kind improvement

```release-note
None
```
2024-04-11 16:10:11 +00:00
Ryan Wang
42a2546b6b chore: cleanup inject code of comment widget (#137)
移除评论组件代码注入的 colorScheme 参数,在最新的评论插件中,已经可以通过 css 变量来控制配色,所以此参数不再有效。

/kind cleanup

```release-note
None
```
2024-04-11 10:24:11 +00:00
Anye
44427b8f17 feat: improve accessibility of profile widget (#131)
添加aria-label字段,提高Accessibility评分

```release-note
None
```
2024-04-11 08:22:10 +00:00
Ryan Wang
3008666add feat: add a new post content styles (#132)
添加新的内容渲染样式。https://github.com/sindresorhus/github-markdown-css

<img width="1031" alt="图片" src="https://github.com/halo-dev/theme-earth/assets/21301288/a9a59389-3fd9-4675-861c-54d5021391ac">

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

/kind feature

```release-note
添加新的内容渲染样式
```
2024-01-02 09:38:13 +00:00
Ryan Wang
6a26a553a2 chore: release 1.7.1 v1.7.1 2023-11-30 22:22:33 +08:00
Anye
09185d145e feat: update footer text color in dark mode (#128)
```release-note
优化页脚文字在暗色模式下的样式
```
2023-11-28 13:47:33 +00:00
Anye
2da6c3fb36 feat: update share-modal.html with dark mode styles (#127)
```release-note
优化暗色模式下的分享弹窗样式。
```
2023-11-28 13:25:32 +00:00
Anye
400adb9d03 chore: update icp link and image (#126)
更新公安备案链接及图片

```release-note
None
```
2023-11-26 02:10:07 +00:00
Anye
2d5d5d2d69 Add alt attribute to gongan_beian image (#125)
提高Accessibility

```release-note
为部分图片添加 alt 属性,提升可访问性。
```
2023-11-23 06:10:08 +00:00
Lucien
bb691ee4fe fix:add moment default avatar (#124)
Fixes #120 

```release-note
为瞬间页面的头像设置默认头像。
```
2023-11-23 06:08:08 +00:00
Ryan Wang
dd986ef328 chore: change version to prepare release 1.7.0 v1.7.0 2023-10-13 03:37:34 -05:00
Takagi
81dc8827d8 fix: the toc jump and styling issues (#119)
#### What type of PR is this?

/kind bug

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

解决 TOC 样式以及点击 toc 后的定位问题

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

Fixes #116 

#### Does this PR introduce a user-facing change?
```release-note
解决 TOC 样式及其点击后的定位问题
```
2023-10-13 08:12:11 +00:00
Ryan Wang
2240926ee7 docs: update README.md 2023-10-13 03:03:00 -05:00
Ryan Wang
96821dd5e8 docs: update README.md 2023-10-13 03:00:12 -05:00
Ryan Wang
8c244f9954 feat: add post share feature (#118)
为文章页面添加分享功能。

/kind feature

<img width="1920" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/0825f69d-f2c9-4419-98aa-f8e572b594f0">


```release-note
 为文章页面添加分享功能。
```
2023-10-13 07:44:10 +00:00
Ryan Wang
4bb65cf143 refactor: post upvote ux (#115)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-10-13 02:24:56 -05:00
Ryan Wang
52125399f6 fix: post cover css (#117)
修复文章封面图包含一个 * 字符的问题。

<img width="658" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/1a8dbce7-0dd9-42e6-a48c-1abf1cb9c410">


/kind bug

```release-note
修复文章封面图包含了一个 * 字符的问题。
```
2023-10-13 07:22:12 +00:00
Ryan Wang
132acc5d14 feat: add photos page (#113)
适配[图库插件](https://github.com/halo-sigs/plugin-photos)。

/kind feature
Fixes https://github.com/halo-dev/theme-earth/issues/71

<img width="1053" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/aa2bd21a-d21e-45fa-93ff-1129bda6e583">
<img width="1065" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/b4139aa0-2c86-42b9-8b39-8376447842f7">

```release-note
适配图库插件。
```
2023-10-13 07:12:10 +00:00
Ryan Wang
006f809081 fix: comment area anchor not working (#111)
修复文章和页面中点击评论图标无法跳转到评论区域的问题。

<img width="1099" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/577b5bfc-33d1-4eba-bc56-b181025fd8cb">

/kind bug

```release-note
修复文章和页面中点击评论图标无法跳转到评论区域的问题。
```
2023-10-13 05:36:10 +00:00
Ryan Wang
1ee85d2f24 chore: update default background (#114)
修改默认的首页背景图。

图片来自:https://unsplash.com/photos/Jn2EaLLYZfY

/kind  improvement

```release-note
修改默认的首页背景图。
```
2023-10-13 04:34:10 +00:00
Ryan Wang
e3c2d95aa6 feat: add moments page (#112)
适配[瞬间插件](https://github.com/halo-sigs/plugin-moments)。

/kind feature
Fixes https://github.com/halo-dev/theme-earth/issues/70

<img width="1138" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/6fc9df4b-0fb3-4116-8cb9-2e02242acbcc">
<img width="1036" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/e4d3243b-e35c-41f5-a1d6-86c1ed9d8b85">

```release-note
适配瞬间插件。
```
2023-10-12 07:52:30 +00:00
Ryan Wang
98e1f89ba1 chore: change version to prepare release 1.6.0 v1.6.0 2023-10-09 10:55:02 -05:00
Ryan Wang
c03e2715d4 chore: add app id annotation (#109)
添加应用市场 ID 的 annotation,方便在首次初始化 Halo 之后可以在应用市场检测后续的更新。

/kind improvement

```release-note
添加应用市场的 App ID 字段,使其可以在内置的应用市场检测新版本。
```
2023-09-19 06:52:21 +00:00
Ryan Wang
19579486af refactor: comment visible condition (#110)
修改评论功能是否可用的判断方式。

see https://github.com/halo-dev/halo/pull/4271

/kind improvement

```release-note
修改评论功能是否可用的判断方式。
```
2023-09-18 03:42:19 +00:00
Ryan Wang
8bebbd84cb chore: release 1.5.0 (#99)
发布 1.5.0 版本。

```release-note
None 
```
v1.5.0
2023-07-24 09:08:14 +00:00
Ryan Wang
bc9dd092a6 feat: add image support for social media (#96)
页脚社交媒体支持图片类型。

/kind feature

<img width="592" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/7bf77f2c-125d-4243-b38c-0e340b82df64">
<img width="1403" alt="image" src="https://github.com/halo-dev/theme-earth/assets/21301288/67c2c232-1130-4d4f-ae13-7b3f39af8c79">

Fixes #92 

```release-note
页脚社交媒体支持图片类型。
```
2023-07-24 08:28:19 +00:00