Add title from CoverCredit, if availble
This commit is contained in:
parent
67bb5735de
commit
2383eeb774
@ -11,5 +11,8 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{if $cover -}}
|
{{if $cover -}}
|
||||||
<!-- Cover image found -->
|
<!-- Cover image found -->
|
||||||
<img src="{{ $cover }}" class="post-cover" alt="{{ .Title | plainify | default " " }}" />
|
<img src="{{ $cover }}"
|
||||||
|
class="post-cover"
|
||||||
|
alt="{{ .Title | plainify | default " " }}"
|
||||||
|
title="{{ .Params.CoverCredit |plainify|default "Cover Image" }}" />
|
||||||
{{- end }}
|
{{- end }}
|
Loading…
Reference in New Issue
Block a user