Move photo_carousel.js to assets/photos/carousel.js
This commit is contained in:
parent
af957c0150
commit
bb655bcf30
2 changed files with 3 additions and 3 deletions
|
@ -74,8 +74,8 @@
|
|||
{{ define "scripts" }}
|
||||
{{- $photos := partial "photos/list.html" . -}}
|
||||
{{ if gt (len $photos) 1 }}
|
||||
{{ with resources.Get "scripts/photo_carousel.js" | fingerprint "md5" }}
|
||||
<script src="{{ .RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
{{- with resources.Get "scripts/photos/carousel.js" | fingerprint "md5" -}}
|
||||
<script src="{{ .RelPermalink }}"></script>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue