Skip to content
Snippets Groups Projects
Commit e4fb0b395bfe authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

[css] pagination: add `active` class on the current page link

parent 08dc78d5c658
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,8 @@
url = self._cw.build_url(**url_params)
if page == current_page:
ul(t.li(t.a(t.b(page),
href=xml_escape(url))))
href=xml_escape(url)),
Class="active",))
else:
ul(t.li(t.a(page,
href=xml_escape(url))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment