{{ define "title" -}}
  Blog List | {{ .Site.Title }}
{{- end }}
{{ define "header" }}
  {{ partial "masthead.html" . }}
{{ end }}
{{ define "main" }}
  <header>
    <h1>{{ .Title }}</h1>
  </header>
  
  <section>
    <table class="all-posts">
    {{range .Site.RegularPages}}
    {{if .Date}}
    <tr>
      <td>{{.Date.Format "2006-01-02"}}</td>
      <td><a href="{{.Permalink}}">{{.Title}}</a></td>
    </tr>
    {{end}}
    {{end}}
    </table>
  </section>

{{ end }}
{{ define "footer" }}
  {{ partial "powered-by.html" . }}
  {{ partial "cookie-disclaimer.html" . }}
{{ end }}
