emulsify
emulsify copied to clipboard
Add ability to test 'current' pager items in PL
What:
Adds a single new yml key to pager.yml: current: 2.
Why:
Allows a developer to visually test for the "current page" within the pager element.
How:
No other changes!
To Test:
- Set
currentto a positive value - add a style for
.pager__item.is-activeand.pager__link.is-active - look at it. :)
Thanks for opening this pull request! You're the best!