From c317d3b0cc95777201a8c0e7e6db5ee47b08febc Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 7 Jun 2024 17:47:23 +0800 Subject: [PATCH] feat(mkdocs): :sparkles: officially add comments on per-page basis The comments feature is powered by giscus through my own instance on Vercel at least to minimize load on official instance, especially on GitHub API calls. Signed-off-by: Andrei Jiroh Halili --- overrides/partials/comments.html | 56 ++++++++++++++++++++++ src/garden/daily-notes/posts/2024-06-02.md | 1 + src/garden/daily-notes/posts/2024-06-03.md | 1 + 3 files changed, 58 insertions(+) create mode 100644 overrides/partials/comments.html diff --git a/overrides/partials/comments.html b/overrides/partials/comments.html new file mode 100644 index 0000000..83cb1e9 --- /dev/null +++ b/overrides/partials/comments.html @@ -0,0 +1,56 @@ +{% if page.meta.comments %} +

{{ lang.t("meta.comments") }}

+ + + + + +{% endif %} \ No newline at end of file diff --git a/src/garden/daily-notes/posts/2024-06-02.md b/src/garden/daily-notes/posts/2024-06-02.md index 7f6f31a..428a358 100644 --- a/src/garden/daily-notes/posts/2024-06-02.md +++ b/src/garden/daily-notes/posts/2024-06-02.md @@ -12,6 +12,7 @@ tags: categories: - Personal Stuff - Other Side Projects +comments: true --- It's been [more than 7 months] since the last one and it's nice I could do it all again here in the new wiki, and it's good to be back again with the daily journaling hellscapes. diff --git a/src/garden/daily-notes/posts/2024-06-03.md b/src/garden/daily-notes/posts/2024-06-03.md index 2cf3da8..eaf6819 100644 --- a/src/garden/daily-notes/posts/2024-06-03.md +++ b/src/garden/daily-notes/posts/2024-06-03.md @@ -15,6 +15,7 @@ categories: #- Actually Autistic Status Update tags: - daily note +comments: true --- # Daily Note 2024-06-03 -- 2.51.2