Merge branch 'add-single-page-alt-text' into 'master'

Add single post image alt text

See merge request gabmus/hugo-ficurinia!2
This commit is contained in:
GabMus 2022-10-09 21:18:16 +00:00
commit d900c73bd0
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
{{ end }}
{{ if .Params.Image }}
<figure style="margin: 0">
<img src="{{ .Params.Image }}" alt="" />
<img src="{{ .Params.Image }}" alt="{{ .Params.Alt }}" />
{{ if .Params.ImageCaption }}
<figcaption>
<p>{{ .Params.ImageCaption | markdownify }}</p>