layouts/_default/home.html: Use paginator partial
There is no pagination yet, but this should be in a partial.
This commit is contained in:
parent
f670020674
commit
4e8118feda
@ -97,10 +97,9 @@
|
|||||||
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
|
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
|
||||||
</article>{{ "<!-- /.blog-post -->" | safeHTML }}
|
</article>{{ "<!-- /.blog-post -->" | safeHTML }}
|
||||||
|
|
||||||
<nav class="blog-pagination" aria-label="Pagination">
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||||||
<a class="btn btn-outline-primary" href="#">Older</a>
|
{{ partial "pagination.html" . }}
|
||||||
<a class="btn btn-outline-secondary disabled" href="#" tabindex="-1" aria-disabled="true">Newer</a>
|
{{ end }}
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user