NAME
Dotiac::DTL::Tag::include - The {% include FILE %} tag
SYNOPSIS
Template file:
{% include variable %} {# for example, monday.html, tuesday.html everyday another header #}
<div id="content"> ... </div>
{% include "footer.html" %}
</body>
</html>
Included template file (footer.html):
<div id="footer">{{ Footertext }}</div>
DESCRIPTION
Loads another template and renders the content in at the point where the tag is standing. All variables are given to the included template as well, so they can be used in there.
The FILE parameter can be either a string: "file.html" or a variable. If it is a string, the template will be loaded and parsed during the parse time of the template, which is faster. A variable can be either a filename or a Dotiac::DTL object.
BUGS AND DIFFERENCES TO DJANGO
If you find any, please let me know
SEE ALSO
http://www.djangoproject.com, Dotiac::DTL
LEGAL
Dotiac::DTL was built according to http://docs.djangoproject.com/en/dev/ref/templates/builtins/.
AUTHOR
Marc-Sebastian Lucksch
perl@marc-s.de