aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content/posts/post-with-featured-image.md
blob: cde54fb56519b84b84d42ef46c7297edccda6af4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
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"
```