Webgen::ContentProcessor::Sass

Summary

As short name for the content processor (used, for example, in the pipeline option of a block in a file in Webgen Page Format) one of the following can be used: sass.

Description

This processor converts the content, which is assumed to be in the Sass meta language, to valid CSS using the Haml library. For detailed information about Sass have a look at the Haml Homepage!

This extension is only available if you have installed the haml library. The preferred way to do this is via Rubygems:

gem install haml

Example

Here is a short sample of a text in the Sass meta language:

#main
  :width 90%
  p
    :border-style solid
    :border-color #00f
    a
      :font-weight bold
    a:hover
      :text-decoration underline