[Catalyst] Please help to figure out with URL's
Larry Leszczynski
larryl at emailplus.org
Thu Dec 4 20:31:24 GMT 2014
On Thu, Dec 4, 2014, at 12:41 PM, Trevor Leffler wrote:
> This is a typical use:
>
> <link href="[% c.uri_for('/static/css/my_style.css') | html %]" rel="stylesheet">
Assuming you're using Template Toolkit, you should use the "url" filter,
not the "html" filter:
<link href="[% c.uri_for('/static/css/my_style.css') | url %]"
rel="stylesheet">
Larry
More information about the Catalyst
mailing list