lib/octopress-ink/assets/stylesheet.rb in octopress-ink-1.0.0.alpha.24 vs lib/octopress-ink/assets/stylesheet.rb in octopress-ink-1.0.0.alpha.25
- old
+ new
@@ -23,10 +23,10 @@
def destination
File.join(@dir, @file.sub(/@(.+?)\./,'.'))
end
def tag
- "<link href='/#{File.join(@dir, @file)}' media='#{media}' rel='stylesheet' type='text/css'>"
+ "<link href='#{Filters.expand_url(File.join(@dir, @file))}' media='#{media}' rel='stylesheet' type='text/css'>"
end
end
end
end