Rename config.toml -> hugo.toml

This commit is contained in:
1bl4z3r
2023-07-05 13:02:07 +05:30
parent 61923c327b
commit 4e7988b011
13 changed files with 4 additions and 35 deletions

View File

@ -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 contents 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.