add support for utteranc.es (#205)
This commit is contained in:
parent
dea81ca434
commit
9b47893b34
|
@ -42,3 +42,4 @@
|
||||||
- [Ryan](https://github.com/alrayyes)
|
- [Ryan](https://github.com/alrayyes)
|
||||||
- [Naim A.](https://github.com/naim94a)
|
- [Naim A.](https://github.com/naim94a)
|
||||||
- [Alexander Rohde](https://github.com/a1x42)
|
- [Alexander Rohde](https://github.com/a1x42)
|
||||||
|
- [Shreyansh Khajanchi](https://shreyanshja.in)
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{{- 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 -}}
|
|
@ -34,6 +34,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" . }}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue