In page.html.twig, I want to have a different sized column (bootstrap theme).
For that, I wanted to know if current page is a contact page or not. And, for taxonomy too.
In twig, I tried: url('<current>'), which gives me current URL.
But, when I tried twig string functions like:
{% if url('<current>') ends with 'contact' %}
I tried "in" too. But, every function returns false.
Is there any better way to know if current page is contact/taxonomy page?