mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 07:01:42 +00:00
ups
This commit is contained in:
parent
89c5d85ba0
commit
e470b0f782
1 changed files with 0 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue