mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-01-28 21:05:58 -05:00
Refactor cover.html to use <figcaption> for image captions
This commit is contained in:
parent
cb1059e04d
commit
51def434ed
@ -57,7 +57,7 @@
|
|||||||
{{/* Display Caption */}}
|
{{/* Display Caption */}}
|
||||||
{{- if $.IsSingle }}
|
{{- if $.IsSingle }}
|
||||||
{{- with .Params.cover.caption }}
|
{{- with .Params.cover.caption }}
|
||||||
<p>{{ . | markdownify }}</p>
|
<figcaption>{{ . | markdownify }}</figcaption>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</figure>
|
</figure>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user