Sha256: 27091de0a770faa8047d083768b1c20ee9b413677667e4d5c6a2145f81fd3834

Contents?: true

Size: 261 Bytes

Versions: 8

Compression:

Stored size: 261 Bytes

Contents

# $Id: sass.rb 68 2007-12-09 07:45:37Z tim_pease $

try_require 'sass'

# Render text via the Sass library (part of Haml)
Webby::Filters.register :sass do |input, cursor|
  opts = cursor.page.sass_options || {}
  Sass::Engine.new(input, opts).render
end

# EOF

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webby-0.7.1 lib/webby/filters/sass.rb
webby-0.7.0 lib/webby/filters/sass.rb
webby-0.7.2 lib/webby/filters/sass.rb
webby-0.7.4 lib/webby/filters/sass.rb
webby-0.8.0 lib/webby/filters/sass.rb
webby-0.8.1 lib/webby/filters/sass.rb
webby-0.8.2 lib/webby/filters/sass.rb
webby-0.7.3 lib/webby/filters/sass.rb