mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
Merge pull request #84 from nunocoracao/82-fix-article-shortcode-link
fixed link
This commit is contained in:
commit
088f5a657d
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ Don't forget to [follow me](https://twitter.com/nunocoracao) on Twitter.
|
|||
{{< /alert >}}
|
||||
|
||||
## Article
|
||||
`Article` will embed a single article into a markdown file. The `link` to the file should be the `.RelPermalink` of the file to be embedded. Note that the shortcode will not display anything if it's referencing it's parent.
|
||||
`Article` will embed a single article into a markdown file. The `link` to the file should be the `.RelPermalink` of the file to be embedded. Note that the shortcode will not display anything if it's referencing it's parent. *Note: if you are running your website in a subfolder like Blowfish (i.e. /blowfish/) please include that path in the link.*
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|Parameter|Description|
|
||||
|
@ -49,10 +49,10 @@ Don't forget to [follow me](https://twitter.com/nunocoracao) on Twitter.
|
|||
**Example:**
|
||||
|
||||
```md
|
||||
{{</* article link="/docs/welcome/" */>}}
|
||||
{{</* article link="/blowfish/docs/welcome/" */>}}
|
||||
```
|
||||
|
||||
{{< article link="/docs/welcome/" >}}
|
||||
{{< article link="/blowfish/docs/welcome/" >}}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue