Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorde-souza <43355143+de-souza@users.noreply.github.com>2019-09-08 17:13:40 +0300
committerde-souza <43355143+de-souza@users.noreply.github.com>2019-09-08 17:13:40 +0300
commit446ae2b69f359e9c7c41d02dc3d8b5ffae4ddd8a (patch)
treefea779eef31b9ff9eea4952864cfe17f9ef92fbc
parent9b8876540224744c128e2749741a21435007fb89 (diff)
Fix typo in variable name (#13)
-rw-r--r--layouts/partials/comments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html
index 9ce742e..78cf3cb 100644
--- a/layouts/partials/comments.html
+++ b/layouts/partials/comments.html
@@ -1,5 +1,5 @@
{{ with site.Params.utterances }}
-{{ if in site.Params.mainSections $.Type | and .enable }}
+{{ if in site.Params.mainSections $.Type | and .enabled }}
<script src="https://utteranc.es/client.js" repo="{{ .repo }}" issue-term="{{ .issueterm }}" theme="{{ .theme }}" crossorigin="anonymous" async></script>
{{end}}
{{end}}