aboutsummaryrefslogblamecommitdiff
path: root/layouts/_default/list.html
blob: 365d386c8a128e4bbac1a2bd6a30ca3a6ea08dda (plain) (tree)
1
                   

















                                                                                                              

          
         
{{ define "main" }}
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-4">
            {{ if .Title }}
                <h1 class="post-title fw-semibold">
                    {{ .Title }}
                </h1>
                {{ .Content }}
                <a href="index.xml" class="btn btn-primary">{{ partial "icon.html" "rss" }} Пописка</a>
            {{ end }}
        </div>
        <div class="col-xs-12 col-sm-12 col-md-8">
            {{ $paginator := .Paginate .Pages 7 }}
            {{ range $paginator.Pages }}
                {{ partial "list.html" . }}
            {{ end }}
            <nav>{{ partial "pagination.html" . }}</nav>
        </div>
    </div>
</div>
{{ end }}