Files
vkane.cz/themes/hermit/exampleSite/content/posts/post-with-featured-image.md
Vojtěch Káně 9498944f53 Inline the submodule of themes/hermit with a git-subtree
Add 'themes/hermit/' from commit '56843f347a642324970ba30d58f23c64e037bb7c'

git-subtree-dir: themes/hermit
git-subtree-mainline: 7844fa5501c271b1b2b5ece2cb19f3202cd6e5ad
git-subtree-split: 56843f347a
2026-02-21 23:42:08 +01:00

633 B
Raw Blame History

title, date, draft, images, tags
title date draft images tags
Post With Featured Image 2018-10-01T16:15:09+08:00 false
https://picsum.photos/1024/768/?random
Demo
Image

Just define the image URL in the contents front matter, the featured image will be displayed as the background.

For example:

---
images:
  - https://picsum.photos/1024/768/?random
---

This is an array, you can set multiple urls, only the first url will be used. These images is also used in Twitter Cards and the Open Graph metadata.