Add title from CoverCredit, if availble

This commit is contained in:
Morgan Gangwere 2021-05-04 21:37:33 -07:00
parent 67bb5735de
commit 2383eeb774

View File

@ -11,5 +11,8 @@
{{- end -}}
{{if $cover -}}
<!-- 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 }}