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:
commit
d900c73bd0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue