Hi everyone,
First time poster here. I would greatly appreciate your input.
I have a client library reference which appears on several of my site's pages:
<html>
<head>
...
<link rel="stylesheet" href="/libs/wcm/foundation/components/page/responsive.css" type="text/css">
...
</head>
...
</html>
The call to responsive.css is being blocked by the dispatcher because, per Adobe documentation, it is apparently bad practice to expose /libs/*
Going down the rabbit hole of page -> template -> template type -> component has led me to:
/libs/wcm/foundation/components/page/author.html line 22:
<sly data-sly-test="${wcmInit.templateCategories.length > 0}" data-sly-call="${clientLib.css @ categories=wcmInit.templateCategories}" />
It seems that templateCategories is non-zero, invoking a call to clientLib.css which eventually places the aforementioned reference on the page head.
My issue is not that responsive.css (category: wcm.foundation.components.page.responsive) is on the page, it is that the client library is not being proxied through /etc.clientlibs and is therefore inaccessible via the dispatcher.
Can anyone please point me in the right direction? This issue only appears on some environments, suggesting it is configuration-related.
Thanks in advance!