{{ define "main" }}
<main class="services">
    {{ if or .Title .Content }} {{ with .Title }}
    <h1 class="services__title">{{ . }}</h1>
    {{ end }} {{ with .Content }}
    <div class="services__content">{{ . }}</div>
    {{ end }} {{ end }}

    <div class="services__list">
        {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ end }}
    </div>
</main>
{{ end }}
