Skip to content

Commit

Permalink
feat: adding giscus
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadienvan committed Apr 26, 2024
1 parent df3ba79 commit c0b26c2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
16 changes: 16 additions & 0 deletions src/layouts/_partials/RetroBlogPostLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@ const i18n = {
}
</div>
</section>
<script src="https://giscus.app/client.js"
data-repo="Cadienvan/Cadienvan.github.io"
data-repo-id="R_kgDOKvGeYg"
data-category="Announcements"
data-category-id="DIC_kwDOKvGeYs4Ce923"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="light_high_contrast"
data-lang="it"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
</Layout>
<style is:inline>
h3 {
Expand Down

0 comments on commit c0b26c2

Please sign in to comment.