Skip to content

Commit

Permalink
CSS Include: Fix handling of "rel" property. (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert authored Sep 10, 2024
1 parent aa1e43a commit 3553670
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<action type="fix" dev="sseifert" issue="6">
Ensure request context path is added to client library URLs.
</action>
<action type="fix" dev="sseifert" issue="7">
CSS Include: Fix handling of "rel" property.
</action>
<action type="update" dev="sseifert">
Switch to AEM 6.5.17 as minimum version.
</action>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/app-root/sightly/templates/clientlib.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @param rel prefetch|preload see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
* @param customAttributes List of custom attributes, each list item in syntax 'attr=value' or just 'attr'
*/-->
<template data-sly-template.css="${@ categories, customAttributes}">
<template data-sly-template.css="${@ categories, rel, customAttributes}">
<sly data-sly-test="${request.getResourceResolver}"
data-sly-use.clientlib="${'io.wcm.wcm.ui.clientlibs.components.CSSInclude' @
categories=categories, rel=rel, customAttributes=customAttributes}">
Expand Down

0 comments on commit 3553670

Please sign in to comment.