mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Squashed 'docs/' changes from 084804447..37095d540
37095d540 Fix shortcode example git-subtree-dir: docs git-subtree-split: 37095d5403cb96f1dc5288d9554e270367f5c449
This commit is contained in:
parent
74309fe569
commit
d6a4af7018
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ To create a shortcode, place an HTML template in the `layouts/shortcodes` direct
|
||||||
You can organize your shortcodes in subfolders, e.g. in `layouts/shortcodes/boxes`. These shortcodes would then be accessible with their relative path, e.g:
|
You can organize your shortcodes in subfolders, e.g. in `layouts/shortcodes/boxes`. These shortcodes would then be accessible with their relative path, e.g:
|
||||||
|
|
||||||
```
|
```
|
||||||
{{< boxes/square >}}
|
{{/*< boxes/square >*/}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note the forward slash.
|
Note the forward slash.
|
||||||
|
|
Loading…
Reference in a new issue