Skip to content

Commit

Permalink
Fix post layout options display
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 17, 2023
1 parent b1011e7 commit ae84b7f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions docs/layouts/post.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ tags:
In addition to the common front matter options, this layout also accepts the following options:
| Name | Type | Description |
| :----------------------- | :------------------------- | :------------------------------------------------------------------------------------------------------------ | ----------------------- |
| **author** | string or object | Post author. |
| **author.name** | string | Name of post author. Overrides any single value given for author. |
| **author.url** | string | URL for website of post author. |
| **authors** | array | Post authors. Overrides any value(s) given for author. |
| **authors.name** | string | Name of post author. |
| **authors.url** | string | URL for website of post author. |
| **date** | string | Date post was published. Use [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), for example `{{ "now" | date("yyyy-MM-dd") }}`. |
| **image** | object | Image shown above post content. |
| **image.src** | string | Path to post image. |
| **image.alt** | string | Alternative text for post image. |
| **image.caption** | string | Caption shown below post image. |
| **image.opengraphImage** | boolean | Whether image should also be used as the page’s Open Graph share image. |
| **modified** | string | Date post was updated. Use [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), for example `{{ "now" | date("yyyy-MM-dd") }}`. |
| **tags** | Array | List of tags post relates to |
| Name | Type | Description |
| :----------------------- | :------------------------- | :------------------------------------------------------------------------------------------- |
| **author** | string or object | Post author. |
| **author.name** | string | Name of post author. Overrides any single value given for author. |
| **author.url** | string | URL for website of post author. |
| **authors** | array | Post authors. Overrides any value(s) given for author. |
| **authors.name** | string | Name of post author. |
| **authors.url** | string | URL for website of post author. |
| **date** | string | Date post was published using the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601). |
| **image** | object | Image shown above post content. |
| **image.src** | string | Path to post image. |
| **image.alt** | string | Alternative text for post image. |
| **image.caption** | string | Caption shown below post image. |
| **image.opengraphImage** | boolean | Whether image should also be used as the page’s Open Graph share image. |
| **modified** | string | Date post was updated using the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601). |
| **tags** | Array | List of tags post relates to |

0 comments on commit ae84b7f

Please sign in to comment.