You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<title>How to use posthtml-extend — Github</title>
@@ -126,3 +133,24 @@ The final HTML will be:
126
133
</body>
127
134
</html>
128
135
```
136
+
137
+
### root
138
+
139
+
The path to the root template directory. Default: "./".
140
+
141
+
### strict
142
+
143
+
Whether the plugin should disallow undeclared block names. Default: true.
144
+
145
+
By default, posthtml-extend raises an exception if an undeclared block name is encountered. This can be useful for troubleshooting (i.e. detecting typos in block names), but
146
+
there are cases where "forward declaring" a block name as an extension point for downstream templates is useful, so this restriction can be lifted by setting the `strict`
0 commit comments