5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 06:41:42 +00:00
This commit is contained in:
f 2018-02-03 19:41:58 -03:00
parent 89c5d85ba0
commit e470b0f782
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -204,7 +204,6 @@ class Post
def basename_from_front_matter def basename_from_front_matter
date = get_front_matter('date').strftime('%F') date = get_front_matter('date').strftime('%F')
slug = get_front_matter('slug') slug = get_front_matter('slug')
slug =
ext = get_front_matter('ext') || '.markdown' ext = get_front_matter('ext') || '.markdown'
"#{date}-#{slug}#{ext}" "#{date}-#{slug}#{ext}"