summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts/fancybox-js.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/scripts/fancybox-js.html')
-rw-r--r--layouts/_partials/scripts/fancybox-js.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/_partials/scripts/fancybox-js.html b/layouts/_partials/scripts/fancybox-js.html
index c9543a01..4823f30c 100644
--- a/layouts/_partials/scripts/fancybox-js.html
+++ b/layouts/_partials/scripts/fancybox-js.html
@@ -1,4 +1,2 @@
-{{- if or (in .Section "posts") (in .Section "cards") (in .Section "library") (eq .Type "single") }}
- <script src="/js/fancybox.umd.js"></script>
- <script>Fancybox.bind("[data-fancybox]");</script>
-{{- end }}
+<script src="/js/fancybox.umd.js"></script>
+<script>Fancybox.bind("[data-fancybox]");</script>