Sha256: e40251264f4ce93f015534e942bf9077daaf08bad2ff8453019234afea380449
Contents?: true
Size: 382 Bytes
Versions: 8
Compression:
Stored size: 382 Bytes
Contents
module Octopress module AssetPipeline class Css < Asset def media path.to_s.scan(/@(.+?)\./).flatten[0] || 'all' end def destination File.join(base, filename.sub(/@(.+?)\./,'.')) end def tag "<link href='#{Filters.expand_url(destination)}' media='#{media}' rel='stylesheet' type='text/css'>" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems