Skip to content

Commit

Permalink
🐛 Fix comments not coming out after routing
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed May 7, 2024
1 parent a4d4f91 commit 2bceb35
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .astro/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"devToolbar": {
"enabled": false
},
"_variables": {
"lastUpdateCheck": 1715053823392
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
},
"dependencies": {
"@pagefind/default-ui": "^1.1.0",
"astro": "^4.6.1",
"dayjs": "^1.11.10",
"astro": "^4.7.1",
"dayjs": "^1.11.11",
"lozad": "^1.16.0",
"motion": "^10.17.0",
"pagefind": "^1.1.0"
},
"devDependencies": {
"@astrojs/rss": "^4.0.5",
"@astrojs/tailwind": "^5.1.0",
"@tailwindcss/typography": "^0.5.12",
"@tailwindcss/typography": "^0.5.13",
"@types/lozad": "^1.16.4",
"node-html-parser": "^6.1.13",
"prettier": "^3.2.5",
Expand Down
5 changes: 3 additions & 2 deletions src/layouts/post.astro
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ if (postIndex < allPosts.length) {
.logo:active {
text-decoration: none;
border-block-end: none;
padding-block-end: none;
padding-block-end: unset;
}

#grid-main {
Expand All @@ -175,7 +175,7 @@ if (postIndex < allPosts.length) {
}
.heti .pay-button:hover {
border-block-end: none;
padding-block-end: 0px;
padding-block-end: 0;
}
</style>
<ViewTransitions />
Expand Down Expand Up @@ -236,6 +236,7 @@ if (postIndex < allPosts.length) {
</div>
</div>
<script
data-astro-rerun
src="https://giscus.app/client.js"
data-repo={SITE.repo}
data-repo-id="R_kgDOG4TsQA"
Expand Down
4 changes: 3 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import { ViewTransitions } from "astro:transitions";
import HeadCommon from '../components/HeadCommon.astro';
import HeadSEO from '../components/HeadSEO.astro';
import Card from '../components/Card.astro';
Expand All @@ -11,11 +12,12 @@ const posts = await Astro.glob('./posts/*.md');
const allPosts = sortPosts(posts);
---

<html lang="ch">
<html lang="ch" transition:animate="none">
<head>
<HeadCommon />
<HeadSEO pageURL={SITE.homePage} content={{}} />
<title>{SITE.title}</title>
<ViewTransitions />
</head>

<body>
Expand Down

0 comments on commit 2bceb35

Please sign in to comment.