summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorIndrajith K L2022-03-20 01:43:18 +0530
committerIndrajith K L2022-03-20 01:43:18 +0530
commit510a1e8f8230d1765dcb62d3c151f489238653fb (patch)
tree3447906b42ac000ed7d9b2086dc7859bea581030 /themes
parent941642aee876a97dbb79666d8fabaa2b1feb9ff5 (diff)
downloadexperimentsofindrajith-510a1e8f8230d1765dcb62d3c151f489238653fb.tar.gz
experimentsofindrajith-510a1e8f8230d1765dcb62d3c151f489238653fb.tar.bz2
experimentsofindrajith-510a1e8f8230d1765dcb62d3c151f489238653fb.zip
Layout and Widget Changes
* Adds Utterance Comment Widget - Enable Comments for Pages using enableComment(boolean) variable in pages * Adds About Section
Diffstat (limited to 'themes')
-rw-r--r--themes/terminal/layouts/_default/single.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/terminal/layouts/_default/single.html b/themes/terminal/layouts/_default/single.html
index 3d375ad..e0ac822 100644
--- a/themes/terminal/layouts/_default/single.html
+++ b/themes/terminal/layouts/_default/single.html
@@ -50,5 +50,15 @@
{{ end }}
{{ partial "comments.html" . }}
+ {{ if .Params.enableComment}}
+ <script src="https://utteranc.es/client.js"
+ repo="cooljith91112/experimentsofindrajith"
+ issue-term="pathname"
+ label="blog_comments"
+ theme="github-dark"
+ crossorigin="anonymous"
+ async>
+ </script>
+ {{end}}
</div>
{{ end }}