{{ define "main" }}
<h1 class="text-2xl font-bold">Topic: {{ .Title }}</h1>
<ul class="mt-4 space-y-4">
  {{ range .Data.Pages }}
  <li class="border-l border-gray-300 pl-4">
    <p class="text-xs text-gray-800"><time datetime="{{ .Date.Format " 2006-01-02" }}">{{ .Date.Format "January 2, 2006"
        }}</time></p>
    <a class="font-bold hover:text-green-900 underline" href="{{ .RelPermalink }}">{{ .Title }}</a>
    <p class="text-sm">{{ .Params.summary }}</p>
    {{ partial "tags.html" .}}
  </li>
  {{ end }}
</ul>
{{ end }}