title: Pyramid and Chameleon ZPT Repetition
body: <p>I am trying to loop through a list and get an output like this:</p>
  
  <p>Python:</p>
  
  <pre><code>items=['item1', 'item2', 'item3']
  return dict(items=items)
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;ul&gt;
  &lt;li&gt;&lt;a href="/item1&gt;item1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="/item1&gt;item2&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="/item1&gt;item3&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I can get the list part right but adding it to the anchor is not going so well.</p>