Replies: 1 comment 5 replies
-
Please take a look at the Thumbnail Selection Order if you haven't read it yet. If your thumbnails are located at +++
images = [
"/images/my-thumbnail.png" # Relative to `static` folder.
# "https://example.com/images/foo.png" # External images.
]
+++ If the thumbnails are page resources, you'll need to move them to page level, and rename it to |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys.
I'm migrating a big blog from WordPress to Hugo and my converted markdown posts have a featureImage field set in the front matter that I want to use both as thumbnail and as featured image (beginning of the post).
Is there a easy way to do this in this theme?
For example, in the Mainroad theme, If I set a
thumbnail: image.jpg
in the front matter, it's used as thumbnail and as featured image, just as I want. So I can use VSCode to batch search and replace the featureImage field with thumbnail in my markdown posts.I'm dealing with hundreds of markdown files, it would be nice to know a easy/fast way to do this in this theme.
Beta Was this translation helpful? Give feedback.
All reactions