{{ define "main" }}
  <div id="{{ lower .Title }}" class="page tag">
    <h1>{{ .Title }}</h1>
    {{ with .Summary }}
      <p>{{ . }}</p>
    {{ end }}
    {{ with .Params.image }}
      {{ $path := print ".." .Params.image }}
      <img src="{{ $path }}" alt="{{ lower .Title }}_image">
    {{ end }}
      <!-- <img src="images/{{ lower .LinkTitle }}" alt=""> -->
    </div>
    {{ with .Content }}
      <div id="content" class="page">
        {{ . }}
      </div>
    {{ end }}
    <div id="posts" class="directory">
    {{ range .Paginator.Pages }}
    <a href="{{ .RelPermalink }}">
      <article class="post">
        <h2>{{ .LinkTitle }}</h2>
        <p>{{ .Summary }}</p>
      </article>
    </a>
    {{ end }}{{ template "_internal/pagination.html" . }}
  </div>
{{ end }}
