diff --git a/app/models/post.rb b/app/models/post.rb index 4c15b7b6..3da73621 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}"