Marc - Sebastian Lucksch > Dotiac-0.8 > Dotiac::DTL::Tag::templatetag

Download:
dotiac/Dotiac-0.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.8   Source   Latest Release: Dotiac-0.8_1

NAME ^

Dotiac::DTL::Tag::templatetag - The {% templatetag openblock|closeblock|openvariable|closevariable|openbrace|closebrace|opencomment|closecomment %} tag

SYNOPSIS ^

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 #}

DESCRIPTION ^

Inserts the special tags used by Django Templates into the rendered output.

The tags

These are the tags which can be used.

openblock

The tag that opens a tag.

        {%
closeblock

The tag that closes a tag.

        %}
openvariable

The tag that opens a variable.

        {{
closevariable

The tag that closes a variable.

        }}
openbrace

This is not needed in this implementation, since you can include braces in the template, if they are not followed by another {, % or #.

        {
closebrace

Also not needed in this implementation.

        }
opencomment

The tag that starts a comment.

        {%
closecomment

The tag that ends a comment.

        %}

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

syntax highlighting: