drupal - How to specify rel property for a css file in a libraries.yml file? -
so i'd specify custom rel property css (well, less) file in libraries.yml file in drupal 8.
would possible?
base: version: version css: theme: css/styles.less: { rel: stylesheet/less }
the resulting html be:
<link rel="stylesheet/less" href="css/styles.less" media="all" />
thank you!
i'm not shure can try :
base: version: version css: theme: css/styles.less: attributes: rel: stylesheet/less
edit
or try
base: version: version css: theme: css/styles.less: { rel: stylesheet/less }
or :
base: version: version css: theme: css/styles.less: attributes : { rel : stylesheet/less }
Comments
Post a Comment