hermit-V2/exampleSite/content/posts/post-with-featured-image.md

17 lines
364 B
Markdown
Raw Normal View History

2018-10-23 01:15:50 -04:00
---
title: "Post With Featured Image"
date: 2018-10-01T16:15:09+08:00
draft: false
featuredImg: "https://picsum.photos/1024/768/?random"
tags:
- Demo
- Image
---
Just define the image URL in the contents front matter, the featured image will be displayed as the background.
For example:
```yaml
featuredImg: "https://picsum.photos/1024/768/?random"
```