E
E
Eve Lovelace2020-01-04 14:31:31
Pug
Eve Lovelace, 2020-01-04 14:31:31

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

1 answer(s)
A
Alex Glebov, 2020-01-04
@SkiperX

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 question

Ask a Question

731 491 924 answers to any question