{{ with .Title }}
{{ . }}
{{ end }}
{{ with .Params }}
{{ $creatorName := .creatorname }}
{{ $sourceURL := .sourceurl }}
{{ $licenseName := .licensename }}
{{ $licenseURL := .licenseurl }}
{{ $date := .date }}
{{- with $creatorName -}}
-
{{- with $sourceURL -}}
Photo by: {{ $creatorName }}
{{- else -}}
Photo by: {{ $creatorName }}
{{- end -}}
{{- end -}}
{{- with $licenseName -}}
-
{{- with $licenseURL -}}
Licence: {{ $licenseName }}
{{- else -}}
Licence: {{ $licenseName }}
{{- end -}}
{{- end -}}
{{- with $date -}}
- {{ dateFormat "02.01.2006" $date }}
{{- end -}}
{{ end }}