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:
Diffstat (limited to 'layouts/partials/mastodon-js.html')
-rw-r--r--layouts/partials/mastodon-js.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/mastodon-js.html b/layouts/partials/mastodon-js.html
new file mode 100644
index 0000000..ac77131
--- /dev/null
+++ b/layouts/partials/mastodon-js.html
@@ -0,0 +1,3 @@
+{{ if ($.Page.Scratch.Get "include_mastodon") "true" }}
+<script src="https://mastodon.social/embed.js" async="async"></script>
+{{ end }}