{{ define "main" }}
<section class="section">
  <article>
    <div class="content portfolio">
      <h1>{{ .Title }}</h1>
      <ul>
        {{ range .Params.images }}
        {{ $img := $.Page.Resources.GetMatch . }}
        <li>
          <figure>
            <img src="{{ $img.RelPermalink }}" alt="">
          </figure>
        </li>
        {{ end }}
      </ul>
      {{ .Content }}
    </div>
  </article>
</section>
{{ end }}
