Skip to content

Instantly share code, notes, and snippets.

@kirs
Created December 14, 2011 12:27
Show Gist options
  • Save kirs/1476388 to your computer and use it in GitHub Desktop.
Save kirs/1476388 to your computer and use it in GitHub Desktop.
.pagination
ul
- if(currentPage > 1)
li.prev
a(href="#")= "← Назад"
- else
li.prev.disabled
a(href="#")= "← Назад"
each page in pages
li
a(href="#")= page
- if(currentPage < pagesNum)
li.next
a(href="#")= "Вперед &rarr;"
- else
li.next.disabled
a(href="#")
= "Вперед &rarr;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment