I am developing a website with Odoo 14 and I have same pages that share same sidebar navigation. I gave manually the links of related pages. I want to give active class to the navigation item of the current page. How can I achieve that? My navigation is so simple and you can see below. If I can give active class automatically, I will convert it to a template and call it directly in all these pages.
I also have tried to use request.httprequest.path but I couldn't succeed. I thought maybe I can use as if the current page path is equal to the link of the nav element, give active class.
nav: