neues theme: add blueprints.yaml
This commit is contained in:
parent
fe37357ce9
commit
e7d6130db7
|
@ -50,13 +50,8 @@
|
|||
{# added check for content display flag - hibbittsdesign.org #}
|
||||
{% if not (grav.uri.param('chromeless') or grav.uri.param('embedded') or grav.uri.param('standalone')) and not(theme_var('chromeless.enabled')) and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %}
|
||||
|
||||
{% set options = { items: {'@root.descendants':''}, 'order': {'by': 'folder', 'dir': 'asc'}} %}
|
||||
{% set my_collection = page.collection(options) %}
|
||||
{% do paginate( my_collection, 5 ) %}
|
||||
|
||||
|
||||
{% include 'partials/pagination.html.twig' with {'base_url':page.url, 'pagination':my_collection.params.pagination} %}
|
||||
|
||||
<p class="prev-next text-center">
|
||||
{% if not page.isLast %}
|
||||
<a class="btn" href="{{ page.prevSibling.url }}">
|
||||
|
|
Loading…
Reference in New Issue
Block a user