Good afternoon,
I am new to Kirby so I am sorry if this sounds obvious.
I have implemented Pagination on my website.
However I would like include the pagination controls in my footer.
Short of having a specific footer for my collection of blog posts,
how can can I target <?php snippet('pagination') ?> so that it is only visible on pages with paginated children or maybe specific template?
Including this snippet on all child pages results in a undeclared variable:pagination error.
My pagination.php snippet begins in the usual way, so maybe I should begin the targeting here?
<?php if($page->pagination()->hasPages()): ?>Thanks for you help.