mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
dependencies: fix wrong docs #751
This commit is contained in:
parent
609539c314
commit
974798afca
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ You can you use this mechanism in your own shortcodes. Say you want to add a sho
|
||||||
1. Write the shortcode file `layouts/shortcodes/myshortcode.html` and add the following line
|
1. Write the shortcode file `layouts/shortcodes/myshortcode.html` and add the following line
|
||||||
|
|
||||||
````go
|
````go
|
||||||
{{- .Store.Set "hasMyShortcode" true }}
|
{{- .Page.Store.Set "hasMyShortcode" true }}
|
||||||
````
|
````
|
||||||
|
|
||||||
1. Add the following snippet to your `hugo.toml`
|
1. Add the following snippet to your `hugo.toml`
|
||||||
|
|
Loading…
Reference in a new issue