-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option for custom attributes to link and meta tags #11
Comments
Definitely something we should be able to handle. I'm looking into several changes this weekend, and will see if we could implement a new API which handles these cases, and your suggestion could be the right one. |
The only thing I have against arrays, is the ability to efficiently merge nested definitions, with as little duplication as possible and still maintaining full control. An idea could be, to add a |
Sure, adding a |
This would also come in handy for specifying alternate content, such as an RSS feed.
|
I'm working on this right now... a new version should be out shortly... |
Also it would be great to have the way to set this one: |
@AlexYegupov |
How does it look like with this feature? I would need a support of <link rel="alternate" href="/url" hreflang="en-us" /> |
For example, I cannot express the following tag
with the structured description:
as it would only render as:
The internal API is operating on arrays of tags with arbitrary number of attributes, but this API is not exposed, only the nested object with a limited level of nesting can be specified.
The API i'd prefer would be as follows:
What do you think?
The text was updated successfully, but these errors were encountered: