Change default names for contributor's portrait #16
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{{ define "main" }}
|
||||
{{- $images := .Resources.ByType "image" }}
|
||||
{{- $portrait := $images.GetMatch (.Params.portrait | default "*thumbnail*") }}
|
||||
{{- $portrait := $images.Get .Params.portrait | default ($images.GetMatch "*portrait*") | default ($images.GetMatch "*thumbnail*") }}
|
||||
<header>
|
||||
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue