mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 18:26:21 +00:00
This commit is contained in:
parent
3dedd84db7
commit
6aa0f7d6cf
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ class Post
|
|||
# Y que no se procese liquid
|
||||
yaml['liquid'] = false
|
||||
yaml['usuaries'] = usuaries.map(&:id).uniq
|
||||
yaml['created_at'] ||= Time.now
|
||||
yaml['last_modified_at'] = modified_at
|
||||
|
||||
"#{yaml.to_yaml}---\n\n#{body}"
|
||||
|
|
Loading…
Reference in a new issue