Dotiac::DTL::Tag::templatetag - The {% templatetag openblock|closeblock|openvariable|closevariable|openbrace|closebrace|opencomment|closecomment %} tag
Template file:
{% templatetag openblock %} templatetag {% templatetag closeblock %} {% templatetag openvariable %} var1 {% templatetag closevariable %} {% templatetag openbrace %} somebrace {% templatetag closebrace %} {% templatetag opencomment %} no comment {% templatetag closecomment %}
This will result in:
{% templatetag %} {{ var1 }} { somebrace } {# no comment #}
Inserts the special tags used by Django Templates into the rendered output.
These are the tags which can be used.
The tag that opens a tag.
{%
The tag that closes a tag.
%}
The tag that opens a variable.
{{
The tag that closes a variable.
}}
This is not needed in this implementation, since you can include braces in the template, if they are not followed by another {, % or #.
{
Also not needed in this implementation.
}
The tag that starts a comment.
The tag that ends a comment.
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.