Dear EPISErver Team,
It seems, that Html.ShellCssLink doesn't work properly.
I tried to use it on view as @Html.ShellCssLink("ClientResources/epi/themes/legacy/ShellCoreLightTheme.css"). But it doesn't generate html markup, it generates text like
<link href="/EPiServer/Shell/1.0.456/ClientResources/epi/themes/legacy/ShellCoreLightTheme.css" rel="stylesheet"></link>
And as a result I see this text on my page in browser.
How to use @Html.ShellCssLink to generate html 'link' ?
Thank you.
Try
@Html.Raw(Html.ShellCssLink("ClientResources/epi/themes/legacy/ShellCoreLightTheme.css"))
Dear EPISErver Team,
It seems, that Html.ShellCssLink doesn't work properly.
I tried to use it on view as @Html.ShellCssLink("ClientResources/epi/themes/legacy/ShellCoreLightTheme.css"). But it doesn't generate html markup, it generates text like
<link href="/EPiServer/Shell/1.0.456/ClientResources/epi/themes/legacy/ShellCoreLightTheme.css" rel="stylesheet"></link>
And as a result I see this text on my page in browser.
How to use @Html.ShellCssLink to generate html 'link' ?
Thank you.