From 44dbcd6f34c676cefbacf12f18d9883c597a681a Mon Sep 17 00:00:00 2001 From: Track3 Date: Tue, 23 Oct 2018 13:15:50 +0800 Subject: First commit --- exampleSite/content/posts/post-with-featured-image.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 exampleSite/content/posts/post-with-featured-image.md (limited to 'exampleSite/content/posts/post-with-featured-image.md') 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 -- cgit v1.2.3