title: Using CakePHP HTML Helper to compile .less client-side
body: <p><strong>The scenario:</strong>
  I'm developing with Less CSS on a Cake App, and I want to compile the less files client-side as they recommend in the documentation (I'm also on a git repo with several other programmers, so I want them to be editing the less files instead of the css…which gets overwritten when I recompile):</p>
  
  <pre><code>  &lt;head&gt; 
      . . .
      &lt;link rel="stylesheet/less" type="text/css" href="styles.less"&gt;
      &lt;script src="less.js" type="text/javascript"&gt;&lt;/script&gt;
      . . .
    &lt;/head&gt;
  </code></pre>
  
  <p><strong>The problem:</strong>
  I'm storing the less files in <code>webroot/css/lib</code>, and the less.js file in <code>webroot/js/vendors</code> and I want to use the HTML helper to build the link/script tags:</p>
  
  <pre><code>&lt;?php echo $this -&gt; Html -&gt; css('lib/style.less'); ?&gt;
  &lt;?php echo $this -&gt; Html -&gt; script('vendors/less-1.2.1.min.js');?&gt;
  </code></pre>
  
  <p>There's no problem loading the less.js. The issue lies in that with the css helper, Cake appends '.css' to the end of the path.</p>
  
  <p>The solution: … ? </p>