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
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
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
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
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
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
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
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
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
```
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
Ryan Wang
2c51b701ae
refactor: refine footer layout ( #98 )
...
优化和完善页脚。
1. 为风格一添加社交媒体。 Fixes https://github.com/halo-dev/theme-earth/issues/93
2. 为风格二添加公安备案的信息。 see https://github.com/halo-dev/theme-earth/pull/97
3. 优化布局结构,优化移动端样式。 Fixes https://github.com/halo-dev/theme-earth/issues/94
/kind improvement
```release-note
None
```
2023-07-22 17:28:16 +00:00
Xue Fanyu
737467dae4
feat: add setting items for Chinese public security filing information ( #97 )
...
### 修改内容
在 #6 基础上加入了公安联网备案相关的设置项
不输入公安联网备案号时不渲染公安备案图标
### 效果图
#### 底部

#### 设置页面

```release-note
添加公安联网备案号的设置
```
2023-07-19 10:06:12 +00:00
Takagi
810cc3eff6
feat: add filters to the cover image ( #89 )
...
#### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
为封面图增加一个暗色调滤镜,解决在亮色调背景图的情况下标题无法看清的问题。
#### Which issue(s) this PR fixes:
Fixes #86
#### Does this PR introduce a user-facing change?
```release-note
为封面图增加暗色调滤镜
```
2023-07-07 02:30:11 +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
706f0a78e3
chore: bump dependencies ( #88 )
...
升级依赖的版本。
/kind improvement
```release-note
None
```
2023-06-30 07:52:13 +00:00
SeanGeng
525ba84ad3
fix: fix the post sidebar_prepend zindex ( #85 )
...
fix #84
https://tailwindcss.com/docs/z-index#arbitrary-values
> If you need to use a one-off z-index value that doesn’t make sense to include in your theme, use square brackets to generate a property on the fly using any arbitrary value.
2023-06-20 13:50:10 +00:00
Ryan Wang
f98f632c20
chore: release 1.4.0 ( #82 )
2023-06-01 10:47:26 +08:00
Ryan Wang
280e468a1b
refactor: change the url of the post editing route ( #81 )
...
修改文章和页面编辑按钮的地址指向,用于适配 https://github.com/halo-dev/halo/pull/4005
/kind improvement
```release-note
修改文章和页面编辑按钮的地址指向,适配 Halo 2.6 中的 Console 路由模式。
```
2023-06-01 02:30:11 +00:00
Faithlv
6f0998c077
fix: post table of contents covers the user menus ( #80 )
...
文章页面目录会遮挡头像弹出的部分窗口
测试了下应该是文章目录的css问题,文章目录z-index为50,弹出窗口z-index为10,改下这个属性就行
```release-note
None
```
2023-05-15 14:24:35 +00:00
shutiao
d3a84719c0
feat: increased the length of the post toc widget ( #79 )
...
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
稍微加大了文章目录的长度。
<img width="317" alt="image" src="https://user-images.githubusercontent.com/114651359/236596800-a5aa4df4-cd09-4b70-a047-3e6c22900cd3.png ">
#### Which issue(s) this PR fixes:
Fixes #77
#### Special notes for your reviewer:
目录高度自适应,最大高度从max-h-40到max-h-64
#### Does this PR introduce a user-facing change?
```release-note
文章目录最大高度变大
```
2023-05-09 03:59:42 +00:00
Ryan Wang
2438415246
chore: release 1.3.0
...
Signed-off-by: Ryan Wang <i@ryanc.cc >
2023-04-27 17:40:13 +08:00
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
shutiao
3111d9eeca
feat: add post archives template ( #73 )
...
#### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
增加了归档页
<img width="1429" alt="image" src="https://user-images.githubusercontent.com/114651359/233537216-d941bb9b-9d64-42a5-b6b2-e72f3994e7ce.png ">
没有文章时:
<img width="1154" alt="image" src="https://user-images.githubusercontent.com/114651359/233537600-77429f22-c558-4df0-a9b8-9531d0b7d92e.png ">
#### Which issue(s) this PR fixes:
Ref #19
#### Special notes for your reviewer:
布局样式参考links页面
#### Does this PR introduce a user-facing change?
```release-note
增加了归档页面
```
2023-04-25 09:12:16 +00:00
shutiao
4fef1a8903
fix the problem that the footer title does not display ( #72 )
...
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
解决自定义页脚标题设置之后不生效的问题。
<img width="1270" alt="image" src="https://user-images.githubusercontent.com/114651359/233311128-22c000c5-5a4a-44b8-a909-3ddcfa483c77.png ">
自定义页脚标题后,
<img width="1237" alt="image" src="https://user-images.githubusercontent.com/114651359/233311412-b2189223-57fd-4b4b-866b-fdae9568a991.png ">
#### Which issue(s) this PR fixes:
Ref #69
#### Special notes for your reviewer:
做了一个判断,若页脚标题设置了且不为空,则启用自定义的页脚标题,否则显示站点标题。
#### Does this PR introduce a user-facing change?
```release-note
none
```
2023-04-21 04:24:10 +00:00
shutiao
e20758e919
fix: link overflow ( #68 )
...
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
修复文章中链接过长溢出的问题。
<img width="1025" alt="image" src="https://user-images.githubusercontent.com/114651359/233283594-df11456e-ac8b-4e8f-a0bd-7c505c08802d.png ">
#### Which issue(s) this PR fixes:
halo里的“当一个链接过长时,出现超越屏幕边界的问题” #3474
https://github.com/halo-dev/halo/issues/3474
#### Special notes for your reviewer:
发现问题好像是由于把整个链接看作了一个单词导致无法换行,加上css属性“word-wrap:break-word”,让他在找不到换行位置的时候也换行。
#### Does this PR introduce a user-facing change?
```release-note
none
```
2023-04-20 07:48:10 +00:00
shutiao
8a6aaeb4a0
fix: icp information is not displayed in the style 2 footer ( #67 )
...
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
在页脚风格2中添加了备案号的显示。
<img width="1439" alt="image" src="https://user-images.githubusercontent.com/114651359/233009313-95aaa6b4-202d-4ae4-bd12-7459c450400a.png ">
<img width="1433" alt="image" src="https://user-images.githubusercontent.com/114651359/233008450-f18e10f9-a1f5-4e87-8bdc-814cc77e16d2.png ">
#### Which issue(s) this PR fixes:
Ref #65
#### Special notes for your reviewer:
1、备案号的样式沿用页脚风格一的。
2、布局尽量拟合页脚风格二的。
#### Does this PR introduce a user-facing change?
```release-note
备案号的显示和链接。
```
2023-04-19 14:40:25 +00:00