aboutsummaryrefslogblamecommitdiff
path: root/themes/neonxp/layouts/_default/list.html
blob: 065ee1afc11e6440406a0eaf3e767531c47e95f8 (plain) (tree)
























                                                                         
{{ define "main" }}
<div class="single-page">
    <div class="sidebar">
        <article class="toc">
            <header>Навигатор</header>
            {{ partial "menu.html" (dict "menuID" "sections" "page" .) }}
        </article>
    </div>
    <div class="h-entry">
        {{ if .Title }}
        <article>
            <header>{{ .Title }}</header>
            {{ .Content }}
        </article>
        {{ end }}
        <h1>Страницы:</h1>
        {{ $paginator := .Paginate .Pages 7 }}
        {{ range $paginator.Pages }}
        {{ partial "list.html" . }}
        {{ end }}
        <nav>{{ partial "pagination.html" . }}</nav>
    </div>
</div>

{{ end }}