From c4bf4abb203ca852874587f1dd1e6ff149c06857 Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane <rowan.a.tl@protonmail.com> Date: Wed, 5 Mar 2025 15:57:29 -0600 Subject: [PATCH] add comment if --- _site/posts/2025-02-24-nginx-gitea.html | 2 ++ templates/post.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/_site/posts/2025-02-24-nginx-gitea.html b/_site/posts/2025-02-24-nginx-gitea.html index e718f24..956d092 100644 --- a/_site/posts/2025-02-24-nginx-gitea.html +++ b/_site/posts/2025-02-24-nginx-gitea.html @@ -279,9 +279,11 @@ Never add the generated public key from step 2 to gitea.</p> Email me if you need help.</p> </section> </article> + <script src="https://utteranc.es/client.js" repo="rowan.a.tl/website-comments" issue-term="pathname" theme="github-light" crossorigin="anonymous" async> </script> + </main> <footer> diff --git a/templates/post.html b/templates/post.html index 890897a..4a7c6b2 100644 --- a/templates/post.html +++ b/templates/post.html @@ -9,6 +9,7 @@ $body$ </section> </article> +$if(comment)$ <script src="https://utteranc.es/client.js" repo="rowan.a.tl/website-comments" issue-term="pathname" @@ -16,3 +17,4 @@ crossorigin="anonymous" async> </script> +$endif$