mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-11 15:49:17 -04:00
Fix shortcode example
This commit is contained in:
parent
0848044474
commit
37095d5403
@ -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…
x
Reference in New Issue
Block a user