Sha256: 31cf9a9e8a8179e8ab1d1eb7e87ca2b2484e95ba7fa41b9960b7c54959420fdc
Contents?: true
Size: 520 Bytes
Versions: 8
Compression:
Stored size: 520 Bytes
Contents
module Octopress module AssetPipeline class Sass < Css def ext file.ext end def path Pathname.new File.join(Octopress.site.source, file.path) end def destination super.sub(/\.s[ca]ss$/, '.css') end def add Ink::Plugins.static_files << Ink::StaticFileContent.new(compile, destination) end def data file.data end def compile Ink::PluginAssetPipeline.compile_sass(self) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems