<h1>Pattern Library Index</h1> <h2>Contents:</h2>

<ul> {% for pattern in patterns %}

<li><a href='#{{ pattern.title }}'>{{ pattern.title }}</a></li>

{% endfor %} </ul>

{% for pattern in patterns %} <article>

<h2><a id='{{ pattern.title }}'>{{ pattern.title }}</a></h2>
<section>{{ pattern.contents }}</section>

{% highlight html %}
  {{ pattern.contents }}
{% endhighlight %}

<hr />

</article> {% endfor %}