NAME
Dotiac::DTL::Addon::unparsed: Tags to work with unparsed template data
SYNOPSIS
Load from a Dotiac::DTL-template:
{% load unparsed %}
Load in Perl file for all templates:
use Dotiac::DTL::Addon::unparsed;
Then it can be used:
{% unparsed %}Some text{% endunparsed %}
DESCRIPTION
This addons includes a tag to work with unparsed template data, this is useful if you want to document Django Template code in a Django Template (using Dotiac::DTL)
It can also be used for 2-pass (or more) templating. The first pass includes static data and the second pass will render the dynamic template:
{% include "header.html" %}
{% unparsed %}{% for x in list %}...{% endfor %}
{% endunparsed %}
This will generate after the first pass:
Headertext
{% for x in list %}...{% endfor %}
This is also valid template and can be used by another script.
Tags
There is only one (for now)
BUGS
Please report any bugs or feature requests to https://sourceforge.net/tracker2/?group_id=249411&atid=1126445
SEE ALSO
Dotiac::DTL, Dotiac::DTL::Addon, http://www.dotiac.com, http://www.djangoproject.com
AUTHOR
Marc-Sebastian Lucksch
perl@marc-s.de