Uniform umami and comments inclusion
This commit is contained in:
parent
aaca014377
commit
cb8720ceb5
@ -63,7 +63,9 @@
|
|||||||
|
|
||||||
<div class="single-content">
|
<div class="single-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
{{ if .Site.Params.giscus.enable }}
|
||||||
{{ partial "comments.html" . }}
|
{{ partial "comments.html" . }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{/* Next prev controls */}}
|
{{/* Next prev controls */}}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{{ if .Site.Params.giscus.enable }}
|
|
||||||
<script src="https://giscus.app/client.js"
|
<script src="https://giscus.app/client.js"
|
||||||
data-repo="{{ .Site.Params.giscus.repo }}"
|
data-repo="{{ .Site.Params.giscus.repo }}"
|
||||||
data-repo-id="{{ .Site.Params.giscus.repoid }}"
|
data-repo-id="{{ .Site.Params.giscus.repoid }}"
|
||||||
@ -14,5 +13,4 @@
|
|||||||
data-loading="lazy"
|
data-loading="lazy"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
async>
|
async>
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user