How to actually load the shortcode and it's javascript?
Closed this issue · 1 comments
faaafo commented
Thank you for that great project
I've followed your detailed instructions
However, it seems the shortcode is simply ignored, not a single js package is loaded (Firefox Dev Console F12 in comparison to your demo > matze.rocks)
Where should I start to investigate?
hugo serve
Watching for changes in /home/x/mysyite/{archetypes,content,data,layouts,static,themes}
Watching for config changes in /home/x/mysyite/config.yml, /home/x/mysyite/themes/hugo-shortcode-gallery/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
head config.yml (excerpt)
theme:
- hugo-shortcode-gallery
- hugo-flex
[themes]$ tree -d -L 2
.
├── hugo-flex
│ ├── assets
│ ├── images
│ └── layouts
└── hugo-shortcode-gallery
├── assets
├── layouts
└── static
cat index.md
+++
title = "Gallery"
lastmod = 2021-01-03T17:10:05+01:00
draft = false
+++
{{< gallery match="images/*" sortOrder="desc" rowHeight="150" margins="5" resizeOptions="600x300 q90 Lanczos" showExif="true" previewType="blur" embedPreview="true" >}}
{{< gallery
match="images/*"
showExif="true"
sortOrder="desc"
loadJQuery="true"
embedPreview="true"
>}}
faaafo commented
Must've been something wrong in my files. Restarting from scratch solved it.