mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Squashed 'docs/' changes from 084804447..37095d540
37095d540 Fix shortcode example git-subtree-dir: docs git-subtree-split: 37095d5403cb96f1dc5288d9554e270367f5c449
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user