-
Notifications
You must be signed in to change notification settings - Fork 0
IncludeReplacement
javarome edited this page May 21, 2024
·
2 revisions
This allows to replace some content pattern in context.file.contents
This is typically used to include header and footer in files for instance.
Because it inserts contents whose parts can themselves be replaced by further replacements, this is the kind of replacements you want to put first in the list.
Currently, the only predefined include replacement is the SsiIncludeReplaceCommand replaces a SSI #include directive with the specified file contents, which mimics the SSI include tag:
<!-- #include virtual="myFileName" -->
by the contents of the myFileName
file, whose path is relative to content root.