File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3'
22
33services :
44 app :
5- image : node:18
5+ image : node:20
66 ports :
77 - 4321:4321
88 working_dir : /app
Original file line number Diff line number Diff line change 11---
22author : FjellOverflow
33pubDatetime : 2024-07-25T11:11:53Z
4+ modDatetime : 2024-09-25T12:07:53Z
45title : How to integrate Giscus comments into AstroPaper
56slug : how-to-integrate-giscus-comments
67featured : true
@@ -189,10 +190,12 @@ Note that specifying a `theme` here will override the `lightTheme` and `darkThem
189190To complete the process, add the new Comments component to ` src/layouts/PostDetails.astro ` (replacing the ` script ` tag from the previous step).
190191
191192``` diff
193+ + import Comments from "@components/Comments";
194+
192195 <ShareLinks />
193196 </div>
194197
195- + <Comments client:only />
198+ + <Comments client:only="react" />
196199
197200 </main>
198201 <Footer />
You can’t perform that action at this time.
0 commit comments