Inline the submodule of themes/hermit with a git-subtree
Add 'themes/hermit/' from commit '56843f347a642324970ba30d58f23c64e037bb7c'
git-subtree-dir: themes/hermit
git-subtree-mainline: 7844fa5501c271b1b2b5ece2cb19f3202cd6e5ad
git-subtree-split: 56843f347a
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
title: "Post With Featured Image"
|
||||
date: 2018-10-01T16:15:09+08:00
|
||||
draft: false
|
||||
images:
|
||||
- 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
|
||||
---
|
||||
images:
|
||||
- https://picsum.photos/1024/768/?random
|
||||
---
|
||||
```
|
||||
|
||||
This is an array, you can set multiple urls, only the first url will be used. These images is also used in [Twitter Cards](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started.html) and the [Open Graph](http://ogp.me/) metadata.
|
||||
Reference in New Issue
Block a user