diff zpt/head_main.zpt @ 24:2204e028811b

preliminary version 0.2 - lots of stuff rewritten - new template system - still no access control
author casties
date Thu, 06 Apr 2006 19:13:43 +0200
parents
children dcadb05c8dfb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/head_main.zpt	Thu Apr 06 19:13:43 2006 +0200
@@ -0,0 +1,6 @@
+<tal:block tal:define="docinfo options/docinfo">
+  <span tal:condition="not:exists:docinfo/author">(no information)</span>
+  <tal:y tal:condition="exists:docinfo/author">
+    <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/>
+  </tal:y>
+</tal:block>