Add a README to the shortode folderwhich explains a few things..
This commit is contained in:
17
layouts/shortcodes/README.md
Normal file
17
layouts/shortcodes/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
Short codes provide code utility in content files. They can call partials but not other short codes.
|
||||
|
||||
`comment.html` is intentionally blank, it allows comments in content files which do nothing.
|
||||
|
||||
For block comments, use `hide.html` such as:
|
||||
|
||||
```
|
||||
{{< hide >}}
|
||||
lalala
|
||||
|
||||
this is markdown content
|
||||
|
||||
# secret section not published yet
|
||||
|
||||
super duper unfinished content
|
||||
{{< /hide >}}
|
||||
```
|
||||
Reference in New Issue
Block a user