Move photo_carousel.js to assets/photos/carousel.js

This commit is contained in:
Eryn Wells 2023-04-05 08:13:27 -07:00
parent af957c0150
commit bb655bcf30
2 changed files with 3 additions and 3 deletions

View file

@ -74,8 +74,8 @@
{{ define "scripts" }} {{ define "scripts" }}
{{- $photos := partial "photos/list.html" . -}} {{- $photos := partial "photos/list.html" . -}}
{{ if gt (len $photos) 1 }} {{ if gt (len $photos) 1 }}
{{ with resources.Get "scripts/photo_carousel.js" | fingerprint "md5" }} {{- with resources.Get "scripts/photos/carousel.js" | fingerprint "md5" -}}
<script src="{{ .RelPermalink }}"></script> <script src="{{ .RelPermalink }}"></script>
{{ end }} {{- end -}}
{{ end }} {{ end }}
{{ end }} {{ end }}