Edgewall Software

source: trunk/examples/bench/simpletal/template.html

Last change on this file was 299, checked in by cmlenz, 17 years ago

Fixed EOL style.

  • Property svn:eol-style set to native
File size: 967 bytes
Line 
1<!DOCTYPE html
2    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
5  <head>
6    <title tal:content="title">Title</title>
7  </head>
8  <body metal:use-macro="base/macros/content">
9    <div metal:fill-slot="content">
10
11      <div metal:use-macro="base/macros/greeting">
12        <span metal:fill-slot="name" tal:content="user" tal:omit-tag=""></span>
13      </div>
14      <div metal:use-macro="base/macros/greeting">
15        <span metal:fill-slot="name" tal:omit-tag="">me</span>
16      </div>
17      <div metal:use-macro="base/macros/greeting">
18        <span metal:fill-slot="name" tal:omit-tag="">world</span>
19      </div>
20
21      <h2>Loop</h2>
22      <ul tal:condition="items">
23        <li tal:repeat="item items" tal:content="item"
24            tal:attributes="class python:repeat['item'].getEnd() and 'last' or None">Item</li>
25      </ul>
26
27    </div>
28  </body>
29</html>
Note: See TracBrowser for help on using the repository browser.