lib/octopress-ink/assets/stylesheet.rb in octopress-ink-1.0.0 vs lib/octopress-ink/assets/stylesheet.rb in octopress-ink-1.1.0

- old
+ new

@@ -25,10 +25,14 @@ def disabled? is_disabled('css', filename) || is_disabled('stylesheets', filename) end def tag - %Q{<link href="#{Filters.expand_url(File.join(dir, output_file_name))}" media="#{media}" rel="stylesheet" type="text/css">} + %Q{<link href="#{tag_path}" media="#{media}" rel="stylesheet" type="text/css">} + end + + def tag_path + Filters.expand_url(File.join(dir, output_file_name)) end def add Plugins.add_css_tag tag super