mirror of https://github.com/luizdepra/hugo-coder.git

Arunvel Sriram
11.13.2020 ba1028a9d09059b3ea2fcbf53cb319bdb206da19
Add support for utterrances label (#384)

* Support utterrances label

* Update CONTRIBUTORS.md

Co-authored-by: Luiz F. A. de PrĂ¡ <luizdepra@users.noreply.github.com>
2 files modified
2 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
layouts/partials/posts/utterances.html 1 ●●●● patch | view | raw | blame | history
CONTRIBUTORS.md
@@ -72,3 +72,4 @@
- [Rajiv Ranjan Singh](https://iamrajiv.github.io/)
- [Pakhomov Alexander](https://github.com/PakhomovAlexander)
- [Rhys Perry](https://rhysperry.com)
- [Arunvel Sriram](https://github.com/arunvelsriram)
layouts/partials/posts/utterances.html
@@ -3,6 +3,7 @@
  <script src="https://utteranc.es/client.js"
    repo= "{{ .Site.Params.utterances.repo }}"
    issue-term="{{ default "title" .Site.Params.utterances.issueTerm }}"
    {{ if isset .Site.Params.utterances "label" }}label="{{ .Site.Params.utterances.label }}"{{ end }}
    theme="{{ default "github-light" .Site.Params.utterances.theme }}"
    crossorigin="anonymous"
    async>