Uniform umami and comments inclusion

This commit is contained in:
Francesco 2024-08-13 19:29:25 +02:00
parent 118e480b1c
commit 4d5bfd1f21
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,9 @@
<div class="single-content">
{{ .Content }}
{{ if .Site.Params.giscus.enable }}
{{ partial "comments.html" . }}
{{ end }}
</div>
{{/* Next prev controls */}}

View file

@ -1,4 +1,3 @@
{{ if .Site.Params.giscus.enable }}
<script src="https://giscus.app/client.js"
data-repo="{{ .Site.Params.giscus.repo }}"
data-repo-id="{{ .Site.Params.giscus.repoid }}"
@ -14,5 +13,4 @@
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
{{ end }}
</script>