mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
docs: document compactSummary option in article shortcode
This commit is contained in:
@@ -73,16 +73,16 @@ This is an error!
|
||||
| --------- | -------------------------------------------------------- |
|
||||
| `link` | **Required.** the `.RelPermalink` to the target article. |
|
||||
| `showSummary` | **Optional.** A boolean value indicating whether to show the article summary. If not set, the site's default configuration will be used. |
|
||||
|
||||
| `compactSummary` | **Optional.** A boolean value indicating whether to display the summary in compact mode. Default to false. |
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example:**
|
||||
|
||||
```md
|
||||
{{</* article link="/docs/welcome/" */>}}
|
||||
{{</* article link="/docs/welcome/" showSummary=true compactSummary=true */>}}
|
||||
```
|
||||
|
||||
{{< article link="/docs/welcome/" >}}
|
||||
{{< article link="/docs/welcome/" showSummary=true compactSummary=true >}}
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user