File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,20 @@ This theme contains the following custom shorcodes:
55
55
# ## Includes
56
56
57
57
This theme contains a custom shortcode called "includes" that lets you reuse content.
58
- To use this shortcode, you must add an "includes" folder to the folder that contains your site content (e.g., `content/includes`).
58
+
59
+ To use this shortcode:
60
+
61
+ 1. Add an "includes" folder to the folder that contains your site content (for example, `content/includes`).
62
+ 2. In the includes folder, create an `index.md` file and add these lines:
63
+
64
+ ```text
65
+ ---
66
+ headless: true
67
+ ---
68
+ ```
59
69
60
70
You can reuse the content of any file in the includes directory using the following shortcode syntax:
61
71
62
72
```md
63
73
{{< include "filename.md" >}}
64
74
```
65
-
66
-
You can’t perform that action at this time.
0 commit comments