<!--comics.html-->
{{ template "header.html" .}}
{{ template "comics/menu.html" .}}
<ul class="nav nav-tabs">
  <li role="presentation" class="active"><a href="/comics/comic">Comics</a></li>
  <li role="presentation"><a href="/comics/publisher">Publishers</a></li>
  <li role="presentation"><a href="/comics/artist">Artists</a></li>
</ul>

<div class="panel panel-default">
  <table class="table">
    <caption>List of Comics</caption>
    <tr><th scope="col">Name</th></tr>
    {{range .payload }}
      <tr><td><a href="/comics/comic/view/{{.ID.Hex}}">{{.Title}}</a></td></tr>
    {{end}}
  </table>
  <div class="panel-body">
    <a href="/comics/comic/create">Add entry</a>
  </div>
</div>

<!--Embed the footer.html template at this location-->
{{ template "footer.html" .}}
