summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-19 22:20:43 +0800
committerEltrac <hi@guhub.cn>2025-07-19 22:20:43 +0800
commit889bace3d6a462ad4edfba635c17f5a92537c451 (patch)
tree35e11aa08e40a8232297b2e8ce154c570674f8d8 /layouts/_partials/scripts
parent432d846aa3daa25e534edd61359644178cb77f70 (diff)
parent95409c66e89dd1b2f7cf224bc451e045e1ebf092 (diff)
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
Former-commit-id: a1ec7099db9ed5560e1d9c9245aaf95bf92c5063
Diffstat (limited to 'layouts/_partials/scripts')
-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>