Skip to content

Commit

Permalink
feat: bump package.json version and add giscus comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgn975 committed Oct 26, 2022
1 parent d8f8d0f commit c0cc4b2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release-branches: '["main"]'
node-module: true

deploy:
needs: build
Expand Down
21 changes: 20 additions & 1 deletion src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,28 @@ const readTime = Math.ceil(numberOfWords / WORDS_PER_MINUTE);
<div class="flex">
<div class="w-3/4">
<img src={featuredImage} class="object-cover my-2 w-full max-h-96" />
<div class="content">
<div class="content mb-8">
<slot />
</div>

<script
is:inline
src="https://giscus.app/client.js"
data-repo="nirgn975/portfolio"
data-repo-id="MDEwOlJlcG9zaXRvcnk2MDg0NTI1OA=="
data-category="Comments"
data-category-id="DIC_kwDOA6Bsys4CSNJU"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="transparent_dark"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async
></script>
</div>

<div class="w-1/4 sticky top-0 h-fit mt-2 ml-4 pl-4 border-l-4 border-zinc-300 dark:border-zinc-700">
Expand Down

0 comments on commit c0cc4b2

Please sign in to comment.