Add an image gallery shortcode
This commit is contained in:
parent
fd01d9d124
commit
124bfaed67
11 changed files with 389 additions and 0 deletions
4
layouts/_partials/gallery-script.html
Normal file
4
layouts/_partials/gallery-script.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{- /* Script for the gallery shortcode, included by the base templates on pages that use it. */ -}}
|
||||
{{- with resources.Get "js/gallery.js" | minify | fingerprint -}}
|
||||
<script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" defer></script>
|
||||
{{- end -}}
|
||||
Loading…
Reference in a new issue