Skip to content

Instantly share code, notes, and snippets.

@aprohl5
Created January 30, 2015 17:59
Show Gist options
  • Save aprohl5/49a29e8f11ae341680f8 to your computer and use it in GitHub Desktop.
Save aprohl5/49a29e8f11ae341680f8 to your computer and use it in GitHub Desktop.
d8 pager output
<nav class="pager" role="navigation" aria-labelledby="pagination-heading">
<h4 id="pagination-heading" class="visually-hidden">Pagination</h4>
<ul class="pager__items">
<li class="pager__item is-active">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=" title="Current page">
<span class="visually-hidden">
Current page
</span>1</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=1" title="Go to page 2">
<span class="visually-hidden">
Page
</span>2</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=2" title="Go to page 3">
<span class="visually-hidden">
Page
</span>3</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=3" title="Go to page 4">
<span class="visually-hidden">
Page
</span>4</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=4" title="Go to page 5">
<span class="visually-hidden">
Page
</span>5</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=5" title="Go to page 6">
<span class="visually-hidden">
Page
</span>6</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=6" title="Go to page 7">
<span class="visually-hidden">
Page
</span>7</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=7" title="Go to page 8">
<span class="visually-hidden">
Page
</span>8</a>
</li>
<li class="pager__item">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=8" title="Go to page 9">
<span class="visually-hidden">
Page
</span>9</a>
</li>
<li class="pager__item pager__item--ellipsis" role="presentation">&hellip;</li>
<li class="pager__item pager__item--next">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=1" title="Go to next page" rel="next">
<span class="visually-hidden">Next page</span>
<span aria-hidden="true">next ›</span>
</a>
</li>
<li class="pager__item pager__item--last">
<a href="/admin/content/doctors?title=&amp;body=&amp;affiliation=&amp;status=1&amp;keys=&amp;page=40" title="Go to last page">
<span class="visually-hidden">Last page</span>
<span aria-hidden="true">last »</span>
</a>
</li>
</ul>
</nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment