-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #307 from fi3ework/dev-1.6.4
🛎️ One-click translation by Google. 中文更新内容见 #307 ## Feat 1. Now you can set the avatar on the homepage to be borderless 2. The Hash value of the address bar is automatically modified to the corresponding Toc value as the article page scrolls 3. When the Toc is too long, the Toc directory will [scroll] as the article page scrolls (https://github.com/fi3ework/hexo-theme-archer/projects/1#card-64443923) 4. Add support for floating elements 5. The article with summary content enabled can be configured to display the "read more" button 6. Now you can configure the search function in the Profile bar to check the SEO status of your blog 7. Now the Profile bar can be customized to add more menus or links (#308) ## Change 1. The breakpoint on the mobile terminal is changed from `980px` to `960px` 2. When you click the Toc directory of the article page to jump, the banner is forced to be displayed, and space for the banner is reserved 3. The threshold for scrolling up the article page to display the Banner is changed from `500px` to `200px` 4. Part of the theme configuration of `Other` in `_config.yml` is moved to `Theme`. 5. Remove the Anchor button of the title in the homepage summary ## Fix 1. Fix the [Issue](#306 (comment)) that the Chinese word segmentation of the original link in the article page License does not automatically break. 2. Fix the problem that the page may display abnormally when opening Algolia search under certain pages 3. When the loading is not completed, the sidebar opening animation is no longer displayed incorrectly 4. Fix the problem that the Toc of the article page scrolls with the page to highlight the error 5. Fix the situation where floating elements may be displayed incorrectly on the article page (#309) ## Style 1. Adapt the color of the table in the article in Dark mode 2. Optimize the color configuration of Dark mode 3. Optimize the style of the 404 page 4. Optimize the display of the article page on the mobile terminal 5. Optimize the display of the sidebar on the mobile terminal 6. Optimize the display of the homepage summary and limit the height of the picture 7. Optimize the display effect when switching pages in Dark mode ## Perf 1. Improve browser scrolling performance 2. Optimize page loading performance ## Revert 1. Feature font is no longer used in sidebar article titles 2. Remove the useless Background-holder ## Chore 1. Put the content of the update log in the `CHANGELOG.md file instead of ` README.md` ## Dev 1. Provide `source_version` configuration, one-click to modify the source file version date 2. Add `.editorconfig` file
- Loading branch information
Showing
72 changed files
with
1,219 additions
and
737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env" | ||
] | ||
} | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
trim_trailing_whitespace = false | ||
|
||
[*.ejs] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,23 @@ | ||
{ | ||
"parser": "@babel/eslint-parser", | ||
"extends": [ | ||
"alloy", | ||
"plugin:prettier/recommended", | ||
"prettier" | ||
"parser": "@babel/eslint-parser", | ||
"extends": ["alloy", "plugin:prettier/recommended", "prettier"], | ||
"globals": { | ||
"siteMeta": true | ||
}, | ||
"env": { | ||
"jquery": true | ||
}, | ||
"plugins": ["prettier"], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"no-unused-vars": [ | ||
"warn", | ||
{ | ||
"vars": "all", | ||
"args": "none", | ||
"caughtErrors": "none" | ||
} | ||
], | ||
"globals": { | ||
"siteMeta": true | ||
}, | ||
"env": { | ||
"jquery": true | ||
}, | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"no-unused-vars": [ | ||
"warn", | ||
{ | ||
"vars": "all", | ||
"args": "none", | ||
"caughtErrors": "none" | ||
} | ||
], | ||
"one-var": [ | ||
"off" | ||
] | ||
} | ||
} | ||
"one-var": ["off"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
node_modules | ||
.DS_Store | ||
.DS_Store | ||
source | ||
_config.yml | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# 更新日志 | ||
|
||
## [v1.6.4](https://github.com/fi3ework/hexo-theme-archer/pull/307) | ||
|
||
- 新特性 / Feat | ||
|
||
1. 现在可以设置主页的 Avatar 头像无边框了 | ||
2. 地址栏 Hash 值随文章页面滚动自动修改为对应的 Toc 值 | ||
3. 当 Toc 过长时,Toc 目录随文章页面滚动而[滚动](https://github.com/fi3ework/hexo-theme-archer/projects/1#card-64443923) | ||
4. 添加对浮动元素的支持 | ||
5. 启用摘要内容的文章可以配置显示“阅读更多”按钮 | ||
6. 现在 Profile 栏可配置搜索功能,查看自己博客的 SEO 状态 | ||
7. 现在 Profile 栏可以自定义添加更多菜单或链接([#308](https://github.com/fi3ework/hexo-theme-archer/issues/308)) | ||
|
||
- 变更 / Change | ||
|
||
1. 移动端的断点由 `980px` 修改为 `960px` | ||
2. 点击文章页面 Toc 目录跳转时,强制显示 Banner,并预留出 Banner 的空间 | ||
3. 文章页面向上滚动显示 Banner 的阈值由 `500px` 修改为 `200px` | ||
4. `_config.yml` 中 `Other` 的部分主题配置移动到 `Theme` 下。 | ||
5. 移除主页摘要中标题的 Anchor 按钮 | ||
|
||
- 修复 / Fix | ||
|
||
1. 修复文章页面 License 处原文链接的中文分词不自动断行的[问题](https://github.com/fi3ework/hexo-theme-archer/issues/306#issuecomment-894640488) | ||
2. 修复在某些页面下打开 Algolia 搜索时,页面可能显示异常的问题 | ||
3. 在尚未加载完成的情况下,不再错误显示侧边栏打开动画了 | ||
4. 修复文章页面 Toc 随页面滚动高亮显示错误的问题 | ||
5. 修复文章页中,浮动元素可能错误显示的问题([#309](https://github.com/fi3ework/hexo-theme-archer/issues/309)) | ||
|
||
- 样式 / Style | ||
|
||
1. 适配 Dark 模式下文章中表格的颜色 | ||
2. 优化 Dark 模式颜色配置 | ||
3. 优化 404 页面的样式 | ||
4. 优化文章页在移动端的显示 | ||
5. 优化侧边栏在移动端的显示 | ||
6. 优化主页摘要的显示,限制图片的高度 | ||
7. 优化 Dark 模式切换页面时的显示效果 | ||
|
||
- 性能 / Perf | ||
|
||
1. 提高浏览器滚动性能 | ||
2. 优化页面加载性能 | ||
|
||
- 回滚 / Revert | ||
|
||
1. 侧边栏文章标题不再使用 Feature 字体 | ||
2. 移除没有用的 Background-holder | ||
|
||
- 其它 / Chore | ||
|
||
1. 快速点击切换 Dark 模式按钮不再触发主题模式切换 | ||
2. 将更新日志内容放到 `CHANGELOG.md` 文件下,而不是 `README.md` | ||
|
||
- 开发者 / Dev | ||
|
||
1. 提供 `source_version` 配置,一键修改源文件版本日期 | ||
2. 添加 `.editorconfig` 文件 | ||
|
||
## v1.6.3 及更早版本 | ||
|
||
- 2021.07.28 - 『添加 Dark 模式支持』 | ||
- 2021.02.03 - 『添加“文章时效性”提示』 | ||
- 2021.01.26 - 『更新使用的 nodejs,以及相关依赖包的版本』 | ||
- 2020.03.04 - 『添加 utteranc 评论 支持』 | ||
- 2020.03.02 - 『添加 Gitalk 评论 支持』 | ||
- 2018.08.26 - 『添加 i18n 支持』 | ||
- 2018.07.09 - 『可以切换深/浅色代码配色方案了,[详情](https://github.com/fi3ework/hexo-theme-archer/wiki/%E5%88%87%E6%8D%A2%E4%BB%A3%E7%A0%81%E9%85%8D%E8%89%B2%E6%96%B9%E6%A1%88)』 | ||
- 2018.06.23 - 『添加 Valine 评论,感谢 [hulichao](https://github.com/fi3ework/hexo-theme-archer/issues/115) 同学』 | ||
- 2018.06.04 - 『添加 Algolia 搜索,[详情](https://github.com/fi3ework/hexo-theme-archer/wiki/%E5%90%AF%E7%94%A8-Algolia-%E6%90%9C%E7%B4%A2)』 | ||
- 2018.05.24 - 『可自定义访问量统计/增加字数统计及阅读时间』 | ||
- 2018.05.01 - 『添加 license』 | ||
- 2018.03.18 - 『添加 fancybox』 | ||
- 2018.03.11 - 『toc 可以根据阅读位置自动展开和收缩了』 | ||
- 2018.03.04 - 『头图的高度可以自定义了,配置 \_config 即可』 | ||
- 2018.02.28 - 『重写分享功能,分享按钮在头图上』 | ||
- 2018.02.24 - 『支持显示微信和 QQ 二维码』 | ||
- 2018.02.04 - 『代码重构,性能优化,样式更新,V1.0.0』 | ||
- 2017.12.27 - 『增加~~百度分享和~~页面浏览量统计』 | ||
- 2017.12.17 - 『增加阅读进度条,在 post 页的顶部』 | ||
- 2017.10.16 - 『修复移动端 bug,增加渐入效果』 | ||
- 2017.10.05 - 『添加 toc,默认开启,可在配置中关闭』 | ||
- 2017.09.30 - 『添加了 rss,修复了 placeholder 的 bug,更流畅』 | ||
- 2017.09.25 - 『可以直接添加 disqus,gitment 了』 | ||
- 2017.09.10 - 『添加了 about 页面』 | ||
- 2017.08.26 - 『添加了二次开发文档,文章页 header 在下滑时隐藏』 | ||
- 2017.08.17 - 『添加了置顶显示』 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.