From ba1028a9d09059b3ea2fcbf53cb319bdb206da19 Mon Sep 17 00:00:00 2001
From: Arunvel Sriram <arunvelsriram@gmail.com>
Date: Tue, 11 Aug 2020 19:13:01 +0000
Subject: [PATCH] Add support for utterrances label (#384)

---
 layouts/partials/posts/utterances.html |    1 +
 CONTRIBUTORS.md                        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index b992ca2..c365484 100644
--- a/CONTRIBUTORS.md
+++ b/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)
diff --git a/layouts/partials/posts/utterances.html b/layouts/partials/posts/utterances.html
index 9e40a43..0feea41 100644
--- a/layouts/partials/posts/utterances.html
+++ b/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>

--
Gitblit v1.10.0