Skip to content

Commit

Permalink
🛠️ 2.5.4-hotfix.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EveSunMaple committed Aug 12, 2024
1 parent 313dc82 commit 00f9619
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,9 @@
- 修复了目录没有被正确更新的问题
- 修复了文章搜索框没有正确显示的问题
- 修复了文章里面 Code 的复制按钮丢失的问题

## [2.5.4-hotfix.1] - 2024-8-13

### Fix

- 修复了搜索组件无法正常加载的问题
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frosti",
"type": "module",
"version": "2.5.4",
"version": "2.5.4-hotfix.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
Expand Down
6 changes: 6 additions & 0 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,9 @@ const { title, image, includeSidebar = true } = Astro.props;
</div>
</body>
</html>
<script>
document.addEventListener("swup:page:view", () => {
const astroPageLoadEvent = new Event("astro:page-load");
document.dispatchEvent(astroPageLoadEvent);
});
</script>

0 comments on commit 00f9619

Please sign in to comment.