Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: place comments right below post, above footer (#171)

authored by

Felix Schneider and committed by
GitHub
f9f13618 1ded8fb1

+13 -1
+13 -1
src/components/MarkdownContent.astro
··· 1 1 --- 2 2 import StarlightBlog from "starlight-blog/overrides/MarkdownContent.astro"; 3 3 import StarlightImageZoom from "starlight-image-zoom/components/ImageZoom.astro"; 4 + import Comments from "starlight-giscus/components/Comments.astro"; 4 5 --- 5 6 6 7 <StarlightImageZoom /> 7 - <StarlightBlog><slot /></StarlightBlog> 8 + <StarlightBlog> 9 + <slot /> 10 + <div class="comments"> 11 + <Comments /> 12 + </div> 13 + </StarlightBlog> 8 14 9 15 <script> 10 16 // Shortly highlight fragments to find faster on page ··· 23 29 } 24 30 }); 25 31 </script> 32 + 33 + <style> 34 + .comments { 35 + margin-top: 2rem; 36 + } 37 + </style>