diff options
Diffstat (limited to '_plugins/modified_time_helper.rb')
| -rw-r--r-- | _plugins/modified_time_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/modified_time_helper.rb b/_plugins/modified_time_helper.rb index af29b89..52a780b 100644 --- a/_plugins/modified_time_helper.rb +++ b/_plugins/modified_time_helper.rb @@ -20,7 +20,7 @@ module Jekyll module ModifiedTimeHelper # Returns the modified time of the given page. def modified_time(page) - path = File.expand_path(File.join(File.dirname(__FILE__), "..", page["path"])) + path = File.expand_path(File.join(File.dirname(__FILE__), '..', page['path'])) out = `git log -n 1 --pretty='format:%cd' --date=iso8601-strict -- #{path}` begin |
