Hi All,
We have AMP pages which includes clientlib as like in non-amp page. We are using data-sly-call to include the css of the clientlibs. But it's generating the css file as a link in the html at the run time. So the page is getting failed in the AMP page test. Is there any other way to include our clientlibs instead of link in HTL.
<sly data-sly-call="${clientLib.css @ categories='myclientlib.category'}"></sly>
is generating below link for the css,
<link rel="stylesheet" href="path/to/css/file.css" type="text/css">
But I need to include/embed the css in html itself. Is there any way to do that in HTL or using sling?
Thanks,
Velu