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

github.com/zwbetz-gh/minimal-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwbetz <zwbetz@gmail.com>2020-06-01 22:05:40 +0300
committerzwbetz <zwbetz@gmail.com>2020-06-01 22:05:40 +0300
commitefcbd504935dcdf79959cd3d670007ba11fcc298 (patch)
treef169b53edd2bb2e6d5ad905215005fdba5e7f70b
parentfcae2d39a57f7eb71cb32c612093fbd9a4a42c25 (diff)
fix go template
-rw-r--r--layouts/partials/mastodon-js.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/mastodon-js.html b/layouts/partials/mastodon-js.html
index ac77131..98bdc4f 100644
--- a/layouts/partials/mastodon-js.html
+++ b/layouts/partials/mastodon-js.html
@@ -1,3 +1,3 @@
-{{ if ($.Page.Scratch.Get "include_mastodon") "true" }}
+{{ if eq ($.Page.Scratch.Get "include_mastodon") "true" }}
<script src="https://mastodon.social/embed.js" async="async"></script>
{{ end }}