You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example for implementing pagination navigation we have this nav code:
<navaria-labelledby="my-pagination">
<h2id="my-pagination">This is my Pagination</h2>
<ol>
{%-forpageEntryinpagination.pages%}
<li><ahref="{{ pagination.hrefs[ loop.index0 ] }}"{%ifpage.url == pagination.hrefs[loop.index0]%}aria-current="page"{%endif%}>Page {{loop.index}}</a></li>
{%-endfor%}
</ol>
</nav>
We name entity of pagination.pages as pageEntry, but within the if condition of the anchor tag we use page.url instead of pageEntry.url. I am somewhat confused if this is intentional or it should be pageEntry.url instead of page.url. Please close the issue if this isn't a relevant question.
The text was updated successfully, but these errors were encountered:
In the example for implementing pagination navigation we have this nav code:
We name entity of
pagination.pages
aspageEntry
, but within the if condition of the anchor tag we usepage.url
instead ofpageEntry.url
. I am somewhat confused if this is intentional or it should bepageEntry.url
instead ofpage.url
. Please close the issue if this isn't a relevant question.The text was updated successfully, but these errors were encountered: