{{ define "main" }}
<div class="page-wrapper no-sidebar">
  <div class="main-content">
    <h1>{{ .Title }}</h1>
    {{ .Content }}

    <div class="blog-list">
      {{ range .Pages.ByDate.Reverse }}
      <article class="blog-entry">
        <div class="blog-header">
          <h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
          <span class="blog-date">{{ .Date.Format "January 2, 2006" }}</span>
        </div>
        {{ if .Summary }}
        <p>{{ .Summary }}</p>
        {{ end }}
      </article>
      {{ end }}
    </div>
  </div>
</div>
{{ end }}
