lib/octopress-ink/plugins.rb in octopress-ink-1.0.0.rc.18 vs lib/octopress-ink/plugins.rb in octopress-ink-1.0.0.rc.19
- old
+ new
@@ -115,36 +115,36 @@
end
# Copy/Generate Stylesheets
#
def self.add_stylesheets
- if Octopress.config['combine_css']
+ if Ink.configuration['combine_css']
PluginAssetPipeline.write_combined_stylesheet
else
add_assets(%w{css sass})
end
end
# Copy/Generate Javascripts
#
def self.add_javascripts
- if Octopress.config['combine_js']
+ if Ink.configuration['combine_js']
PluginAssetPipeline.write_combined_javascript
else
add_assets(%w{js coffee})
end
end
def self.css_tags
- if Octopress.config['combine_css']
+ if Ink.configuration['combine_css']
PluginAssetPipeline.combined_stylesheet_tag
else
@css_tags.join('')
end
end
def self.js_tags
- if Octopress.config['combine_js']
+ if Ink.configuration['combine_js']
PluginAssetPipeline.combined_javascript_tag
else
@js_tags.join('')
end
end