This Pull Request introduces the necessary changes to allow Pitsby users to set attributes to the generated HTML tags that will import Styles and Scripts set in Pitsby configuration file.
At this moment, users are limited to set a script src or a stylesheet href. With these new changes, users will be able to pass HTML attributes other than just src or href. See below:
Ref.: https://github.com/glorious-codes/glorious-pitsby/issues/223
This Pull Request introduces the necessary changes to allow Pitsby users to set attributes to the generated HTML tags that will import Styles and Scripts set in Pitsby configuration file.
At this moment, users are limited to set a script
src
or a stylesheethref
. With these new changes, users will be able to pass HTML attributes other than justsrc
orhref
. See below: