Method: Assette::Reader::Less.tag
- Defined in:
- lib/assette/readers/less.rb
.tag(path) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/assette/readers/less.rb', line 41 def tag path tag = " <link href=\"\#{path}\" rel=\"stylesheet/less\" type=\"text/css\" media=\"all\" />\n HTML\n\n tag << %Q{<script src=\"\#{Assette.config.less_js_path}?nodep\" type=\"text/javascript\"></script>} if Assette.config.less_js_path\nend\n" |