1
Fork 0

Use scripts_extra to define lightgallery dependency

This commit is contained in:
Jake Howard 2021-12-12 18:31:50 +00:00
parent 8e34fe0b2f
commit 4ea15411e1
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 4 deletions

View file

@ -36,10 +36,6 @@
{{ partial "script.html" "js/jquery.min.js" }}
{{ if eq .Params.layout "flickr" }}
{{ partial "script_async.html" "js/lightgallery.min.js" }}
{{ end }}
{{ partial "script_async.html" "js/bootstrap.min.js" }}
{{ partial "script_async.html" "js/app.js" }}

View file

@ -27,3 +27,7 @@
{{ partial "related-content.html" . }}
</div>
{{ end }}
{{ define "scripts_extra" }}
{{ partial "script_async.html" "js/lightgallery.min.js" }}
{{ end }}