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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c2ee7d4..91b9812 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -113,7 +113,7 @@ $(
<script src='https://unpkg.com/valine@1.4.14/dist/Valine.min.js'></script>
{{ end }}
-{{ if and (.Site.Params.disqusShortname (.IsPage) }}
+{{ if and (.Site.Params.disqusShortname) (.IsPage) }}
<script src="https://cdn.jsdelivr.net/npm/vue-disqus@3/dist/vue-disqus.js"></script>
{{ end }}