You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

4 years ago
  1. +++
  2. title = "Hall of Mirrors"
  3. slug = "hall-of-mirrors"
  4. description = "Responsive PhotoSwipe Image Galleries add-on module for After Dark."
  5. summary = "Responsive PhotoSwipe Image Galleries."
  6. categories = ["addon"]
  7. tags = ["module", "images", "graphics", "engagement"]
  8. features = ["related content", "snippets", "section menu"]
  9. [[copyright]]
  10. owner = "Josh Habdas"
  11. date = "2019"
  12. license = "agpl-3.0-or-later"
  13. +++
  14. **PhotoSwipe Homepage:** {{< external "http://photoswipe.com" />}}<br>
  15. **Module Source:** {{< external "https://git.habd.as/comfusion/hall-of-mirrors" />}}
  16. ## Demo
  17. {{< hackcss-alert >}}
  18. {{< video controls="true" preload="auto" src="https://habd.as/code/after-dark/assets/after-dark-hall-of-mirrors-demo.mp4" width="100%" >}}
  19. {{< /hackcss-alert >}}
  20. ## Installation
  21. Choose a module download source:
  22. - {{< external "https://www.npmjs.com/package/hall-of-mirrors" />}}
  23. - {{< external "https://www.jsdelivr.com/package/npm/hall-of-mirrors" />}}
  24. - {{< external "https://git.habd.as/comfusion/hall-of-mirrors" />}}
  25. Extract module contents into site `themes` directory:
  26. ```sh
  27. ├── static
  28. └── themes
  29. ├── after-dark
  30. └── hall-of-mirrors
  31. ```
  32. Specify module in site config:
  33. {{< highlight toml "linenos=inline,linenostart=6" >}}
  34. # Controls default theme and theme components
  35. theme = [
  36. "hall-of-mirrors", # sequence before "after-dark"
  37. "after-dark"
  38. ]
  39. {{< /highlight >}}
  40. See {{< external href="https://git.habd.as/comfusion/hall-of-mirrors/src/branch/master/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://git.habd.as/comfusion/hall-of-mirrors/issues" text="Submit an Issue" />}} with your question.