mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-01-12 14:33:19 -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 */}}
|
||||
{{- if $.IsSingle }}
|
||||
{{- with .Params.cover.caption }}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
<figcaption>{{ . | markdownify }}</figcaption>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</figure>
|
||||
|
Loading…
Reference in New Issue
Block a user