- Source:
Classes
Type Definitions
compileCallback(srcPath, contentopt) → {function}
Typically you should configure your templating engines to load template from your theme's layout dir.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
srcPath |
String | File path relative to your theme's layout dir. |
|
content |
String |
<optional> |
If this is null, you need to manually load file. |
- Source:
Returns:
- Type
- function