mirror of https://github.com/onweru/compose.git

weru
11.53.2024 5392252575a2ebabf7d9870a392f7350de043a9d
layouts/shortcodes/gallery.html
@@ -2,7 +2,7 @@
{{- $descriptions := split (replace (.Get 1) ":: " "::") "::" }}
<div class="gallery">
  {{- range $index, $image := $images }}
    {{- if eq ((strings.Contains $image "https://") || (strings.Contains $image "http://")) true }}
    {{- if eq (or (strings.Contains $image "https://") (strings.Contains $image "http://")) true }}
      {{- $image = absURL $image }}
    {{- end }} 
    <figure class="gallery_item">