Load photoswipe by default and fix double-load bug
Photoswipe is now loaded by default for all pages in this theme. No need to call load-photoswipe shortcode anymore. Fixes bug where load-photoswipe.js was invoked multiple times, which caused the photoswipe to prevent viewing the lightbox more than once.
This commit is contained in:
parent
f86398e399
commit
bbeb127b30
6 changed files with 6 additions and 97 deletions
|
|
@ -47,5 +47,6 @@
|
|||
<link rel="stylesheet" href="{{ "css/pygment_highlights.css" | absURL }}" />
|
||||
<link rel="stylesheet" href="{{ "css/highlight.min.css" | absURL }}" />
|
||||
{{- partial "head_custom.html" . }}
|
||||
{{- partial "load-photoswipe-theme.html" . }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue