From e470b0f782df55563ac7b799d312c26b8585b17b Mon Sep 17 00:00:00 2001 From: f Date: Sat, 3 Feb 2018 19:41:58 -0300 Subject: [PATCH] ups --- app/models/post.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 4c15b7b..3da7362 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -204,7 +204,6 @@ class Post def basename_from_front_matter date = get_front_matter('date').strftime('%F') slug = get_front_matter('slug') - slug = ext = get_front_matter('ext') || '.markdown' "#{date}-#{slug}#{ext}"