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

changed config for others cases

parent d71eddfa
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,15 @@ params:
single:
backlinks: false
pages:
default_image: false
index:
truncate_description: 200 # Set to 0 to disable truncate
papers:
default_image: false
sidebar:
direction: start
volumes:
default_image: false
persons:
index:
layout: grid # grid | list
......
......@@ -36,7 +36,7 @@
"sizes" site.Params.image_sizes.blocks.pages.list
) -}}
{{- else -}}
{{- partial "commons/image-default.html" -}}
{{- partial "commons/image-default.html" "pages" -}}
{{- end -}}
</div>
{{ end }}
......
......@@ -6,6 +6,6 @@
"sizes" site.Params.image_sizes.sections.pages.item
) -}}
{{- else -}}
{{- partial "commons/image-default.html" -}}
{{- partial "commons/image-default.html" "pages" -}}
{{- end -}}
</div>
......@@ -16,7 +16,7 @@
"desktop" "408x485"
) -}}
{{- else if site.Params.default_image.url -}}
{{- partial "commons/image-default.html" (dict "class" "img-fluid") -}}
{{- partial "commons/image-default.html" "papers" -}}
{{- end -}}
</div>
</a>
......
......@@ -18,7 +18,7 @@
"desktop" "408x485"
) -}}
{{- else if site.Params.default_image.url -}}
{{- partial "commons/image-default.html" (dict "class" "img-fluid") -}}
{{- partial "commons/image-default.html" "papers" -}}
{{- end -}}
</div>
</a>
......
......@@ -12,7 +12,7 @@
"sizes" site.Params.image_sizes.sections.volumes.item
) -}}
{{- else if site.Params.default_image.url -}}
{{- partial "commons/image-default.html" (dict "class" "img-fluid") -}}
{{- partial "commons/image-default.html" "volumes" -}}
{{- end -}}
</div>
</article>
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