mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Utterances commenting system name corrected (#342)
This commit is contained in:
committed by
GitHub
parent
6f8f675f7e
commit
9d1ba9d21d
@@ -1,11 +0,0 @@
|
|||||||
{{- if isset .Site.Params "utteranc" -}}
|
|
||||||
{{- if and (isset .Site.Params.utteranc "repo") (not (eq .Site.Params.utteranc.repo "" )) (eq (.Params.disable_comments | default false) false) -}}
|
|
||||||
<script src="https://utteranc.es/client.js"
|
|
||||||
repo= "{{ .Site.Params.utteranc.repo }}"
|
|
||||||
issue-term="{{ default "title" .Site.Params.utteranc.issueTerm }}"
|
|
||||||
theme="{{ default "github-light" .Site.Params.utteranc.theme }}"
|
|
||||||
crossorigin="anonymous"
|
|
||||||
async>
|
|
||||||
</script>
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
11
layouts/partials/posts/utterances.html
Normal file
11
layouts/partials/posts/utterances.html
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{- if isset .Site.Params "utterances" -}}
|
||||||
|
{{- if and (isset .Site.Params.utterances "repo") (not (eq .Site.Params.utterances.repo "" )) (eq (.Params.disable_comments | default false) false) -}}
|
||||||
|
<script src="https://utteranc.es/client.js"
|
||||||
|
repo= "{{ .Site.Params.utterances.repo }}"
|
||||||
|
issue-term="{{ default "title" .Site.Params.utterances.issueTerm }}"
|
||||||
|
theme="{{ default "github-light" .Site.Params.utterances.theme }}"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
{{ partial "posts/series.html" . }}
|
{{ partial "posts/series.html" . }}
|
||||||
{{ partial "posts/disqus.html" . }}
|
{{ partial "posts/disqus.html" . }}
|
||||||
{{ partial "posts/commento.html" . }}
|
{{ partial "posts/commento.html" . }}
|
||||||
{{ partial "posts/utteranc.html" . }}
|
{{ partial "posts/utterances.html" . }}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user