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 }}
|
{{ end }}
|
||||||
{{ if .Params.Image }}
|
{{ if .Params.Image }}
|
||||||
<figure style="margin: 0">
|
<figure style="margin: 0">
|
||||||
<img src="{{ .Params.Image }}" alt="" />
|
<img src="{{ .Params.Image }}" alt="{{ .Params.Alt }}" />
|
||||||
{{ if .Params.ImageCaption }}
|
{{ if .Params.ImageCaption }}
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<p>{{ .Params.ImageCaption | markdownify }}</p>
|
<p>{{ .Params.ImageCaption | markdownify }}</p>
|
||||||
|
|
Loading…
Reference in New Issue