To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
This HTML Templater assumes page templates contain components, so should not be directly templated. Instead this will look for a master template tag in the page template, and then invoke that passing the template path for it to use
Properties
Name | Returns | Notes | Example |
---|---|---|---|
templateVars | Map | ||
webRoot | String | ||
bodyClasses | String | ||
lessSources | Map | ||
jsSources | Map | ||
cssSources | Map | ||
allTemplateVars | Map |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
getClassName ( resource ) | String | ||
mergeTitles ( templateTitle, pageTitle ) | String | Does a simple variable substitution, replacing occurence of $title in the templateTitle with the pageTitle This is to allow templates to specify the title but with templating which is safe for component pages |