From 8c3c9cedd0724cc5909260a8914d19ec2cc65b0e Mon Sep 17 00:00:00 2001 From: Athanasia Monika Mowinckel Date: Sun, 19 Dec 2021 02:43:37 +0100 Subject: Add option for giscus comment section (#309) * add giscus option * add giscus options to config.toml * rm quotes around hugo code --- layouts/partials/comments.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 26cb4b6..c5e2a50 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -3,3 +3,21 @@ {{ template "_internal/disqus.html" . }} {{- end }} + +{{- if .Site.Params.giscus.repo }} +
+ +
+{{- end }} -- cgit v1.2.3