Uniform umami and comments inclusion
This commit is contained in:
parent
aaca014377
commit
cb8720ceb5
@ -63,7 +63,9 @@
|
||||
|
||||
<div class="single-content">
|
||||
{{ .Content }}
|
||||
{{ if .Site.Params.giscus.enable }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{/* Next prev controls */}}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user