i’m currently testing kirby local and having problems to load javascript files.
I created a new folder ‘js’ inside the assets directory.
Between the closing </footer> and the closing </body> tag i put <?= js('assets/js/guggenheim-photoswipe.min.js'), true ?>
The developers tools from chrome does not show me any javascript under sources…
Yes, it is from the Guggenheim Plugin. It is a modified version from Jimmy himself.
I believe this is not related to Guggenheim but rather a mistake i did and cannot figure out… because javascript files are infact loading from the head section as developer tools is showing me!
deleting this line which echos a nonexisting site caused the javascript not to be echoed … <a href="<?php echo $site->page('impressum')->url() ?>"><?php echo $site->page('impressum')->title() ?></a>