If a WordPress post begins with an image, wp2hugo adds the generated {{< figure ... >}} into the summary front matter of the post. It's displayed as text {{< figure ... >}} in the list of posts in PaperMod 7.0.
---
date: "2024-01-03T02:59:06+00:00"
guid: https://example.com/?p=1582
summary: |+
{{< figure align=alignright width=204 src="https://example.com/wp-content/uploads/2024/01/example.jpg" alt="" >}}
Hello world. This is a post.
title: Example
url: /2024/01/02/example/
---
{{< figure align=alignright width=204 src="/wp-content/uploads/2024/01/example.jpg" alt="" >}}
Hello world. This is a post.
If a WordPress post begins with an image, wp2hugo adds the generated
{{< figure ... >}}
into thesummary
front matter of the post. It's displayed as text{{< figure ... >}}
in the list of posts in PaperMod 7.0.Top-article summary display in PaperMod 7.0: