aboutsummaryrefslogtreecommitdiff
path: root/_plugins/modified_time_helper.rb
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-07-06 08:46:18 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-07-06 08:46:18 +0200
commit6be4bdf6ad92eea3e57ccfaf95672daf43cc1090 (patch)
tree090a0fc781b2482be03f8bef69d33dc7d9ba7c09 /_plugins/modified_time_helper.rb
parentba3cfcd0b25c2b4ff47d325db3c592a0673df5f6 (diff)
downloadjo.mssola.com-6be4bdf6ad92eea3e57ccfaf95672daf43cc1090.tar.gz
jo.mssola.com-6be4bdf6ad92eea3e57ccfaf95672daf43cc1090.zip
ci: fixed a lot of issues with style and urls
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '_plugins/modified_time_helper.rb')
-rw-r--r--_plugins/modified_time_helper.rb2
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