Skip to content

Commit

Permalink
Fix for PR Karmalakas#12
Browse files Browse the repository at this point in the history
  • Loading branch information
hughbris committed Jul 1, 2023
1 parent 93f6e54 commit 0c0dd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Every page can override config options. You can pass theme as a third parameter
{{ photoswipe('id', 'a', page.header.photoswipe.options) }}
```

> If you use Photoswipe in a module template**, you must add this to the module's (not the main modular page) frontmatter: `never_cache_twig: true`. You don't need to do this if your site has caching disabled.
> **If you use Photoswipe in a module template**, you must add this to the module's (not the main modular page) frontmatter: `never_cache_twig: true`. You don't need to do this if your site has caching disabled.
>
> If caching is enabled _and_ your Photoswipe gallery is invoked in a module template, all of the assets that make Photoswipe work are omitted from the cache. You will see the gallery unstyled and unscripted and lightbox will not work.
>
Expand Down

0 comments on commit 0c0dd38

Please sign in to comment.