From ae84b7fa51ac462c8e0d1e27a8bad0b46c506e02 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Sun, 17 Dec 2023 23:15:59 +0000 Subject: [PATCH] Fix post layout options display --- docs/layouts/post.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/layouts/post.md b/docs/layouts/post.md index 26c56241..ab938641 100644 --- a/docs/layouts/post.md +++ b/docs/layouts/post.md @@ -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 |