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