mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 12:55:49 +08:00
dependencies: fix wrong docs #751
This commit is contained in:
parent
609539c314
commit
974798afca
@ -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
|
||||
|
||||
````go
|
||||
{{- .Store.Set "hasMyShortcode" true }}
|
||||
{{- .Page.Store.Set "hasMyShortcode" true }}
|
||||
````
|
||||
|
||||
1. Add the following snippet to your `hugo.toml`
|
||||
|
Loading…
x
Reference in New Issue
Block a user