Skip to content
Snippets Groups Projects
Commit a41d08d2 authored by Olivia206's avatar Olivia206
Browse files

fix default image partial

parent 148bc016
No related branches found
No related tags found
No related merge requests found
{{ $section_type := .}}
{{ $use_default := (index site.Params $section_type).default_image}}
{{ $image := site.Data.website.default_image }}
{{ $image := site.Data.website.default.image }}
{{ if and $use_default $image }}
{{ with index site.Params.image_sizes.sections $section_type }}
......
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