I'm trying to run the library template example from the book, pages 406-414.
I carefully cut-and-pasted the contents of each file from the downloaded chapter 11 code from OReilly, and checked it against the book for typos.
I get the following error:
% ./bin/build -a ttree 2.78 (Template Toolkit version 2.14)
Source: /home/skelem/public_html/ttbook/templates/src
Destination: /home/skelem/public_html/ttbook/html
Include Path: [ /home/skelem/public_html/ttbook/templates/lib ]
Ignore: [ \b(CVS|RCS|.svn)\b, ^#, \b(CVS|RCS|.svn)\b, ^# ]
Copy: [ \.(gif|jpg|pdf|png)$, \.(gif|jpg|pdf|png)$ ]
Accept: [ ]
Suffix: [ tt2 => html, htm => html ]+ index.html ! file error - recursion into 'site/logo'
(I turned recursion off in ttbook/etc/ttree.cfg, because it got into an infinite-depth recursion.)
templates/lib/site/logo contains:
[%- INCLUDE misc/image image=site.logo | trim -%]
Should this be
[%- INCLUDE misc/image image=site.url.logo | trim -%]
, because templates/lib/config/url defines site.url.logo? But I tried that, and still got the recursion error.
Thanks for any help, Steve Kelem
begin:vcard fn:Steve Kelem n:Kelem;Steve org:Element CXI adr;dom:;;1815 McCandless Dr.;Milpitas;CA;95035 email;internet:[EMAIL PROTECTED] title:Chief Architect tel;work:408-934-8169 x-mozilla-html:TRUE url:http://www.elementcxi.com version:2.1 end:vcard
