17 lines
364 B
Markdown
17 lines
364 B
Markdown
|
---
|
|||
|
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 content’s front matter, the featured image will be displayed as the background.
|
|||
|
|
|||
|
For example:
|
|||
|
|
|||
|
```yaml
|
|||
|
featuredImg: "https://picsum.photos/1024/768/?random"
|
|||
|
```
|