From c11b2a2960fe8880e21a232a878a855904c8ccf4 Mon Sep 17 00:00:00 2001 From: Erison Silva Date: Wed, 2 Oct 2024 16:44:40 +0200 Subject: [PATCH] fix(docs): update giscus blog post (#392) --- docker-compose.yml | 2 +- src/content/blog/how-to-integrate-giscus-comments.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 58355f7..285e320 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: app: - image: node:18 + image: node:20 ports: - 4321:4321 working_dir: /app diff --git a/src/content/blog/how-to-integrate-giscus-comments.md b/src/content/blog/how-to-integrate-giscus-comments.md index a27496f..01acc8e 100644 --- a/src/content/blog/how-to-integrate-giscus-comments.md +++ b/src/content/blog/how-to-integrate-giscus-comments.md @@ -1,6 +1,7 @@ --- author: FjellOverflow pubDatetime: 2024-07-25T11:11:53Z +modDatetime: 2024-09-25T12:07:53Z title: How to integrate Giscus comments into AstroPaper slug: how-to-integrate-giscus-comments featured: true @@ -189,10 +190,12 @@ Note that specifying a `theme` here will override the `lightTheme` and `darkThem To complete the process, add the new Comments component to `src/layouts/PostDetails.astro` (replacing the `script` tag from the previous step). ```diff ++ import Comments from "@components/Comments"; + -+ ++