Personally, I pass a dict named current in the context. For the home
page, the dict is {'home': 'active'} and for about, it's {'about':
'active'}. Then the link to the home page is , the link to about is , etc...
It might not be the best way but it's pretty straightforward and
that's what I use wh
Hello,
I'm making a website with bootstrap and I use some menu items (in
fact nav bars) and I was wondering what is the best practice to make a
menu item highlighted when I am on the page connected with this menu
item. I mean in bootstrap the nav bar has a to
highlight the fact that I'm on
2 matches
Mail list logo