layouts/_default/home.html: Use paginator partial

There is no pagination yet, but this should be in a partial.
This commit is contained in:
Alan Orth 2020-12-07 14:20:52 +02:00
parent f670020674
commit 4e8118feda
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -97,10 +97,9 @@
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
</article>{{ "<!-- /.blog-post -->" | safeHTML }}
<nav class="blog-pagination" aria-label="Pagination">
<a class="btn btn-outline-primary" href="#">Older</a>
<a class="btn btn-outline-secondary disabled" href="#" tabindex="-1" aria-disabled="true">Newer</a>
</nav>
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
{{ partial "pagination.html" . }}
{{ end }}
</div>