swig
Version:
A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.
20 lines (17 loc) • 457 B
JavaScript
/**
* Makes the current template extend a parent template. This tag must be the first item in your template.
*
* See <a href="#inheritance">Template Inheritance</a> for more information.
*
* @alias extends
*
* @example
* {% extends "./layout.html" %}
*
* @param {string} parentFile Relative path to the file that this template extends.
*/
exports.compile = function () {};
exports.parse = function () {
return true;
};
exports.ends = false;