Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 1.7.0: donate button, optimized mobile experience and more #399

Merged
merged 42 commits into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
6ed0003
style: replace ejs tag from `<% xxx %>` to `<%_ xxx _%>` to get rid o…
Stark-X Jun 10, 2023
3bf3b4e
chore: add replacement to prettier script
Stark-X Jun 10, 2023
756df8c
chore: update package.json & update source version
LolipopJ Jul 5, 2023
d43ecbe
Merge branch 'master' into dev
LolipopJ Jul 5, 2023
3f62f15
chore(layout): format base-head.ejs
LolipopJ Jul 5, 2023
730b639
chore: refactor code logic & upgrade fancybox
LolipopJ Jul 5, 2023
f50477a
chore(toc): remove magic var
LolipopJ Jul 5, 2023
e1b9998
refactor(toc): remove hash rules & resolve anchor positioning wisely
LolipopJ Jul 6, 2023
ede3e67
feat(modile): improve read experience in mobile mode
LolipopJ Jul 6, 2023
59998da
style(mobile): align post title with article content
LolipopJ Jul 6, 2023
ae5e897
style(header): add backdrop-filter
LolipopJ Jul 6, 2023
b552672
feat(image): support lazy-loading for images in post & update toc re-…
LolipopJ Jul 10, 2023
2c33b2a
perf(toc): merge re-init toc function
LolipopJ Jul 10, 2023
8fe2bcc
style(abstract-title): adjust display of post title
LolipopJ Jul 25, 2023
e165227
Merge remote-tracking branch 'upstream/dev' into lots-of-blank-line
Stark-X Nov 8, 2023
5338c51
chore: run prettier
Stark-X Nov 8, 2023
13aaef6
chore: replace node-sass to sass due to deprecation by official
Stark-X Nov 8, 2023
4f7d623
Merge pull request #375 from Stark-X/lots-of-blank-line
Stark-X Nov 9, 2023
462d53d
feat: migrate waline to v2
Stark-X-ZA Nov 11, 2023
3e932ab
fix: waline parameter "avatar" had been deprecated, and "placeholder"…
Stark-X-ZA Nov 11, 2023
4b62131
fix: html syntax error
Stark-X Nov 13, 2023
fd1c763
fix: html syntax error
Stark-X Nov 13, 2023
2cde46b
✨ feat: resolves #265, add support for tranlated post
Stark-X-ZA Mar 30, 2024
26713ce
chore: update deps to latest version & fix syntax
LolipopJ May 19, 2024
0273729
docs: update CHANGELOG.md
LolipopJ May 19, 2024
e13336b
revert(config): no longer use `source_version` field
LolipopJ May 19, 2024
5556502
feat(algolia): fix duplicate doms & optimize stylesheet
LolipopJ May 20, 2024
8dec933
style(menu): add highlight to menu button when sidebar is active
LolipopJ May 20, 2024
5c017cf
style(profile): fix width of profile link items
LolipopJ May 20, 2024
fa266d8
style(home): adjust line-height of abstract title
LolipopJ May 20, 2024
3ee3a78
fix(mobile): avoid unexpected behaviors of hovering on buttons
LolipopJ May 20, 2024
4faae33
feat(toggle-banner): optimize display timing of toggle banner
LolipopJ May 20, 2024
7594f4e
feat(algolia): close search popup smartly
LolipopJ May 20, 2024
c4b1de9
feat(donate): support add donate info
LolipopJ May 20, 2024
d161fe3
chore(tag): optimize error message
LolipopJ May 21, 2024
5a1f3c3
docs(readme): add donate chapter & fix words
LolipopJ May 21, 2024
3f6c832
style(donate): add dark mode support
LolipopJ May 21, 2024
bff6e9e
revert(image): remove lazy loading due to execution order
LolipopJ May 21, 2024
bae5f24
fix(donate): fix error while donate option is not existing
LolipopJ May 25, 2024
45dbb51
chore(lints): move `replace-ejs-tag.js` to `lints/`
LolipopJ Jul 17, 2024
c434af2
style(algolia): fix breaking change
LolipopJ Jul 17, 2024
497eeb3
chore: update deps & restore `package-lock.json`
LolipopJ Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.*/
layout/
source/
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"parser": "@babel/eslint-parser",
"plugins": ["prettier"],
"extends": ["alloy", "plugin:prettier/recommended", "prettier"],
"globals": {
"siteMeta": true
},
"env": {
"jquery": true
},
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": [
Expand Down
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
source/* linguist-vendored
* text=auto eol=lf
source/* linguist-vendored
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.*/
node_modules/
.DS_Store/
source/

_config.yml
README.md
14 changes: 0 additions & 14 deletions .prettierrc.js

This file was deleted.

13 changes: 13 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"overrides": [
{
"files": "*.ejs",
"options": {
"tabWidth": 4
}
}
]
}
39 changes: 37 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
# 更新日志

## [v1.6.4](https://github.com/fi3ework/hexo-theme-archer/pull/307)
## [v1.6.6](https://github.com/fi3ework/hexo-theme-archer/releases/tag/1.6.6)

- 重构 / Refactor

1. 重构文章页**目录**功能,提高目录高亮状态响应速度及精度([#357](https://github.com/fi3ework/hexo-theme-archer/issues/357))。

- 问题修复 / Fix

1. 修复当文章不包含标签(Tag)时,也不会展示归档(Category)的问题([#352](https://github.com/fi3ework/hexo-theme-archer/issues/352))。
2. 修复友链未打开新标签页的问题([#359](https://github.com/fi3ework/hexo-theme-archer/issues/359))。

- 样式 / Style

1. 优化 Gitalk 评论组件在暗黑模式下的样式([#344](https://github.com/fi3ework/hexo-theme-archer/issues/344), [#347](https://github.com/fi3ework/hexo-theme-archer/issues/347))。
2. 修复 `.header` 样式类冲突的问题([#351](https://github.com/fi3ework/hexo-theme-archer/issues/351))。
3. 优化首页文章预览多行标题的显示效果([#353](https://github.com/fi3ework/hexo-theme-archer/issues/353))。

- 变更 / Change

1. **默认关闭**字数统计功能,避免用户在未安装插件时启动主题出错([#367](https://github.com/fi3ework/hexo-theme-archer/issues/367))。
2. 随着文章页滚动,**不再**自动设置地址栏的查询 Hash([#369](https://github.com/fi3ework/hexo-theme-archer/issues/369))。

## [v1.6.5](https://github.com/fi3ework/hexo-theme-archer/releases/tag/1.6.5)

- 新特性 / Feature

1. 添加了对评论组件 Waline 的支持([#319](https://github.com/fi3ework/hexo-theme-archer/issues/319))

- 问题修复 / Fix

1. 修复了分享文章按钮失效的问题([#313](https://github.com/fi3ework/hexo-theme-archer/issues/313))
2. 修复了 Tag 或 Cate 中无法使用特殊字符的问题([#316](https://github.com/fi3ework/hexo-theme-archer/issues/316))
3. 修复了 Toc 和 Anchor 中可能出现的问题([#317](https://github.com/fi3ework/hexo-theme-archer/issues/317))
4. 修复了暗色模式偏好的问题([#325](https://github.com/fi3ework/hexo-theme-archer/issues/325))

## [v1.6.4](https://github.com/fi3ework/hexo-theme-archer/releases/tag/1.6.4)

- 新特性 / Feat

Expand Down Expand Up @@ -58,7 +93,7 @@
1. 提供 `source_version` 配置,一键修改源文件版本日期
2. 添加 `.editorconfig` 文件

## v1.6.3 及更早版本
## 历史更新记录

- 2021.07.28 - 『添加 Dark 模式支持』
- 2021.02.03 - 『添加“文章时效性”提示』
Expand Down
Loading
Loading