From 6d5355541ba37ad9afc0cc39ad0a53fe9736748d Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 31 Dec 2023 15:29:58 -0600 Subject: [PATCH] initial work on giscus setup --- config/_default/params.toml | 13 +++++++++++ config/local/params.toml | 2 +- .../index.md | 2 +- layouts/partials/comments.html | 23 +++++++++++++------ 4 files changed, 31 insertions(+), 9 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 8f0b2b3..a2763cd 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -18,6 +18,19 @@ comments = true utterancesRepo = "jbowdre/site-comments" utterancesIssueTerm = "og:title" utterancesTheme = "gruvbox-dark" +giscusCategory = "Announcements" +giscusCategoryId = "DIC_kwDOKKEGD84CcG89" +giscusCrossOrigin = "anonymous" +giscusEmitMetadata = "0" +giscusInputPosition = "bottom" +giscusLang = "en" +giscusLoading = "lazy" +giscusMapping = "og:title" +giscusReactions = "1" +giscusRepo = "jbowdre/site-comments" +giscusRepoId = "R_kgDOKKEGDw" +giscusStrict = "0" +giscusTheme = "dark" analytics = true diff --git a/config/local/params.toml b/config/local/params.toml index c8a1743..3b5ce10 100644 --- a/config/local/params.toml +++ b/config/local/params.toml @@ -1,2 +1,2 @@ -comments = false +comments = true analytics = false \ No newline at end of file diff --git a/content/posts/tailscale-serve-docker-compose-sidecar/index.md b/content/posts/tailscale-serve-docker-compose-sidecar/index.md index 735c753..c8ccbad 100644 --- a/content/posts/tailscale-serve-docker-compose-sidecar/index.md +++ b/content/posts/tailscale-serve-docker-compose-sidecar/index.md @@ -5,7 +5,7 @@ date: 2023-12-30 description: "Using Docker Compose to deploy containerized applications and make them available via Tailscale Serve and Tailscale Funnel" featured: false toc: true -comment: true +comments: true series: Projects tags: - containers diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 66fadd5..f242522 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,12 +1,21 @@ -{{ if .Site.Params.utterancesRepo }} +{{ if .Site.Params.giscusRepo }}
-
{{ end }} \ No newline at end of file