Add CustomAttr function #158
-
Hello @markuswustenberg Thank you for creating func CustomAttr(k, v string) g.Node {
return g.Attr(k, v)
} It's very useful when you what to add hreflang attribute or any other attribute that is not currently supported. What do you think? |
Beta Was this translation helpful? Give feedback.
Answered by
markuswustenberg
Dec 18, 2023
Replies: 1 comment 2 replies
-
Hi @Lord-Y. Just use g.Attr directly and you have your custom attribute. 😊 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Lord-Y
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Lord-Y. Just use g.Attr directly and you have your custom attribute. 😊