Sha256: 43cf6d34ad60e43f957dbfc69c28ece464143350686cc4f8617919b45d38945b

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

module Octopress
  module Tags
    class JavascriptTag < 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_javascripts'] != false
          Plugins.javascript_tags
        else
          Plugins.combined_javascript_tag
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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