Dotiac::DTL::Tag::include - The {% include FILE %} tag
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>
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.
If you find any, please let me know
http://www.djangoproject.com, Dotiac::DTL
Dotiac::DTL was built according to http://docs.djangoproject.com/en/dev/ref/templates/builtins/.
Marc-Sebastian Lucksch
perl@marc-s.de
To install Dotiac::DTL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dotiac::DTL
CPAN shell
perl -MCPAN -e shell install Dotiac::DTL
For more information on module installation, please visit the detailed CPAN module installation guide.