On Mon, 25 Jul 2005, Roderick A. Anderson wrote:

> I don't see anything in the badger book and don't remember seeing this
> pass through the list.
>
> I work in a rather strange environment but most of my coding is on Windows
> systems.  No development system -- I code in place.  This is not my
> choice.
>
> Since I haven't taken or been given the time to install CVS or a friend I
> do some documentation in the code.  Not in pod just a a bunch of comments.
>
> But in a template that isn't an easy option.  I'm back documenting right
> now and have got to the templates directory.  The plan is to do this.
>
> [%#
>
>    System: theserver.example.com
>  Location: z:/funstuff/templates
>      File: header.tt
>      Date: 29-Jul-2005
>     Notes: This is the header template for the geewhiz site.
> %]
>
> Are there other tt options for doing blocks of comments that won't show up
> in the generated xhtml?

Rod,

Is it important for the comments to go between a start and end tag?
I don't know how this might affect performance (since it's getting
stored in the symbol table), but what about something like this?

[%- BLOCK comments %]
    System: theserver.example.com
  Location: z:/funstuff/templates
      File: header.tt
      Date: 29-Jul-2005
     Notes: This is the header template for the geewhiz site.
[% END -%]

This won't show up in your final output.

I hope that helps.

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash                              Power to the People!
Frolicking in Fields of Garlic               Right On-Line!
[EMAIL PROTECTED]                                  Dig it all.

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to