mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 21:19:55 +03:00
Uniform umami and comments inclusion
This commit is contained in:
parent
118e480b1c
commit
4d5bfd1f21
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue