Try to fix header/footer issue
This commit is contained in:
8
layouts/partials/footer_local.html
Normal file
8
layouts/partials/footer_local.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!-- From https://blog.cavelab.dev/2021/04/photo-gallery-posts/ -->
|
||||
|
||||
{{- if and (eq .Type "photos") (eq .Kind "page") -}}
|
||||
<script src="{{ (resources.Get "assets/lightgallery.min.js" | fingerprint).Permalink }}"></script>
|
||||
<script>lightGallery(document.getElementById('lightgallery'), {selector: '.photo-item'});</script>
|
||||
{{- end -}}
|
||||
|
||||
<!-- lightgallery is: https://github.com/sachinchoolur/lightGallery -->
|
||||
Reference in New Issue
Block a user