diff zpt/feature/default_template_teaser.zpt @ 16:54f135c1ed65

updated MPIWGFeature. zpts moved to feature subfolder and renamed. new date attribute. nicer management interface.
author casties
date Fri, 05 Apr 2013 15:58:43 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/feature/default_template_teaser.zpt	Fri Apr 05 15:58:43 2013 +0200
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  </head>
+  <body>
+    <metal:block metal:define-macro="caption">
+      <div class="caption">
+        <!-- insert image caption here -->
+      </div>
+    </metal:block>
+    <metal:block metal:define-macro="text">
+      <h1><a tal:attributes="href feature_url"><!-- insert title here --></a></h1>
+      <p>
+        <!--  insert teaser text here -->
+      </p>
+    </metal:block>
+  </body>
+</html>