Skip to content
Snippets Groups Projects
Commit 3b86d7a2 authored by alexisben's avatar alexisben
Browse files

polish

parents 121e9f34 b1721f75
No related merge requests found
{{ $section_type := .}}
{{ $use_default := (index site.Params $section_type).default_image}}
{{ $section_type := . }}
{{ $use_default := (index site.Params $section_type).default_image }}
{{ $image := index site.Data.website.default "image" }}
{{ if and $use_default $image }}
{{ with index site.Params.image_sizes.sections $section_type }}
{{ $sizes := . }}
{{ $sizes }}
{{- partial "commons/image.html"
(dict
"image" $image
......
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