Sha256: ff3a4715252d758a31144be30ff346f21197140aa4d96b71052bdb7d23d06808

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

module Octopress
  module Tags
    class StylesheetTag < Liquid::Tag
      def initialize(tag_name, markup, tokens)
        super
      end
      def render(context)
        site = context.registers[:site]
        if site.config['octopress'] && site.config['octopress']['combine_stylesheets'] != false
          Plugins.stylesheet_tags
        else
          Plugins.combined_stylesheet_tag(site)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.14 lib/octopress-ink/tags/stylesheet.rb
octopress-ink-1.0.0.alpha.13 lib/octopress-ink/tags/stylesheet.rb
octopress-ink-1.0.0.alpha.12 lib/octopress-ink/tags/stylesheet.rb