diff options
| author | Track3 <pengliabc@live.cn> | 2018-10-23 13:15:50 +0800 |
|---|---|---|
| committer | Track3 <pengliabc@live.cn> | 2018-10-23 13:15:50 +0800 |
| commit | 44dbcd6f34c676cefbacf12f18d9883c597a681a (patch) | |
| tree | 86610dc396b64baf3f2c4ef00a3b84dc6c1d2bde /exampleSite/content/posts/post-with-featured-image.md | |
| download | hermit-44dbcd6f34c676cefbacf12f18d9883c597a681a.tar.gz | |
First commit
Diffstat (limited to 'exampleSite/content/posts/post-with-featured-image.md')
| -rw-r--r-- | exampleSite/content/posts/post-with-featured-image.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/exampleSite/content/posts/post-with-featured-image.md b/exampleSite/content/posts/post-with-featured-image.md new file mode 100644 index 0000000..cde54fb --- /dev/null +++ b/exampleSite/content/posts/post-with-featured-image.md @@ -0,0 +1,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" +```
\ No newline at end of file |
