Skip to content

Commit

Permalink
put giscus under Footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Summpot committed Sep 21, 2024
1 parent c2ed8f7 commit f731b3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import type { Props } from '@astrojs/starlight/props';
import Default from '@astrojs/starlight/components/Footer.astro';
---


<Default {...Astro.props}><slot /></Default>
<script src="https://giscus.app/client.js"
data-repo="Pixeval/pixeval.github.io"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDc3ODYzMjU="
Expand All @@ -17,5 +19,4 @@ import Default from '@astrojs/starlight/components/Footer.astro';
data-lang="zh-CN"
crossorigin="anonymous"
async>
</script>
<Default {...Astro.props}><slot /></Default>
</script>

0 comments on commit f731b3f

Please sign in to comment.