lib/octopress-ink/assets/page.rb in octopress-ink-1.0.0.rc.39 vs lib/octopress-ink/assets/page.rb in octopress-ink-1.0.0.rc.40
- old
+ new
@@ -58,10 +58,10 @@
end
def info
message = super
name = permalink_name << page.ext
- message.sub!(/#{filename}/, name.ljust(filename.size))
+ message.sub!(/#{filename}\s*/, name.ljust(35))
message.ljust(25) << (permalink || page.permalink || '')
end
def permalink
@permalink ||= plugin.config['permalinks'][permalink_name]