mirror of
https://github.com/cchuster/connerchu.com
synced 2025-08-01 05:15:32 +00:00
last one plsss
This commit is contained in:
parent
4897c008ce
commit
a82bcccf88
@ -112,7 +112,7 @@ Ordinal: {{ .Ordinal}}
|
||||
<div id="{{ $galleryWrapperId }}" class="gallery-wrapper">
|
||||
<div id="{{ $galleryId }}" class="justified-gallery">
|
||||
{{ range $original := sort $images "Name" $sortOrder}}
|
||||
{{ if and (eq $original.ResourceType "image") (in "jpeg png tiff webp" $original.MediaType.SubType) (not (hasSuffix $original.Name ".meta")) }}
|
||||
{{ if and (eq $original.ResourceType "image") (in "jpeg png tiff webp" $original.MediaType.SubType) }}
|
||||
|
||||
{{/* Get metadata from sidecar file, if present. Else an empty dictionary is used. */}}
|
||||
{{ $metaFileName := print $original.Name ".meta"}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user