Uniform umami and comments inclusion

This commit is contained in:
Francesco 2024-08-13 19:29:25 +02:00
parent aaca014377
commit cb8720ceb5
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 }}"
@ -15,4 +14,3 @@
crossorigin="anonymous"
async>
</script>
{{ end }}