#ANCRE_PAGINATION

  • New in : SPIP 1.9

The #PAGINATION tag creates (by default) an HTML anchor [1] which enables the browser to directly display the part of the page which is paginated; for example, sometimes we might want to put pagination links below a list of articles, but also, at the same time, we might want to place the anchor above that list.

This is where the #ANCRE_PAGINATION tag comes in, which creates the anchor in question and interrupts the following #PAGINATION tag from inserting its own.

<B_page>
#ANCRE_PAGINATION
  <ul>
<BOUCLE_page(ARTICLES) {par date} {pagination}>
   <li>#TITRE</li>
</BOUCLE_page>
   </ul>
   <nav role="navigation" class="pagination">#PAGINATION</nav>
</B_page>

Footnotes

[1Refer to the definition of this HTML element

Author Mark Published : Updated : 20/07/23

Translations : عربي, català, English, Español, français, Nederlands