Add a JavaScript file for the photos list

This commit is contained in:
Eryn Wells 2023-04-05 08:16:44 -07:00
parent ad9f83ed39
commit da994bd6b7
2 changed files with 117 additions and 0 deletions

View file

@ -17,3 +17,9 @@
{{ define "footer" }}
{{ partial "footer.html" . }}
{{ end }}
{{ define "scripts" }}
{{- with resources.Get "scripts/photos/list.js" | fingerprint "md5" -}}
<script src="{{ .RelPermalink }}"></script>
{{- end -}}
{{ end }}