mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-11-22 18:37:42 -05:00
Refactor cover.html to use <figcaption> for image captions
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user