Fix accessibility issues and re-format templates

This commit is contained in:
panr
2020-06-18 00:40:31 +02:00
parent 04d9175af8
commit 5a0af3384d
4 changed files with 121 additions and 117 deletions

View File

@ -23,8 +23,8 @@
</span>
{{ end }}
{{ with .Params.Cover }}
<img src="{{ . | absURL }}" class="post-cover" />
{{ if .Params.Cover }}
<img src="{{ .Params.Cover | absURL }}" class="post-cover" alt="{{ .Title | plainify | default " " }}" />
{{ end }}
{{ if .Params.Toc }}