Answer the question
In order to leave comments, you need to log in
Is it possible to remove an attribute in pug?
I have an include that contains a header, for example, I need to remove href from the Catalog menu item on the catalog page , is it possible to implement this?
Answer the question
In order to leave comments, you need to log in
Connect the header through the mixin and pass the href in the parameters
https://pugjs.org/language/mixins.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question