Skip to content
Snippets Groups Projects
Unverified Commit e6912185 authored by Olivia Simonet's avatar Olivia Simonet Committed by GitHub
Browse files

Pré-release fixes (#688)

parent 8b972000
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
"options" site.Params.blocks.gallery.carousel
"partial" "blocks/templates/gallery/carousel-image.html"
)}}
{{ else }}
{{ else if .images }}
{{ partial "blocks/templates/gallery/images.html" . }}
{{- end -}}
</div>
......
......@@ -24,7 +24,7 @@
{{- if .crop -}}
{{- $crop = true -}}
{{- end -}}
{{ $image_class := .html_class }}
{{ $image_class := .html_class | default "" }}
{{ $is_png := strings.HasSuffix $image.name "png" }}
{{ $is_svg := strings.HasSuffix $image.name "svg" }}
{{ if $is_png }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment