Login

Tag "current-page"

Snippet List

Current Page Middleware

This module provides a middleware that implements a mechanism to highlight a link pointing to the current URL. Every link on the rendered page matching the current URL will be highlighted with a 'current_page' CSS class. The name of the CSS class can be changed by setting `CURRENT_PAGE_CLASS` in the project settings. Originally done by Martin Pieuchot and Bruno ReniƩ, thanks @davidbgk and @samueladam for improvements & optimizations.

  • middleware
  • current-page
Read More

1 snippet posted so far.