mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 13:56:22 +00:00
Merge branch 'issue-14169' of https://0xacab.org/sutty/sutty into 17.3.alpine.panel.sutty.nl
This commit is contained in:
commit
37a52e21b1
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class Post
|
||||||
# Y que no se procese liquid
|
# Y que no se procese liquid
|
||||||
yaml['liquid'] = false
|
yaml['liquid'] = false
|
||||||
yaml['usuaries'] = usuaries.map(&:id).uniq
|
yaml['usuaries'] = usuaries.map(&:id).uniq
|
||||||
yaml['created_at'] ||= modified_at
|
yaml['created_at'] ||= modified_at.dup
|
||||||
yaml['last_modified_at'] = modified_at
|
yaml['last_modified_at'] = modified_at
|
||||||
|
|
||||||
"#{yaml.to_yaml}---\n\n#{body}"
|
"#{yaml.to_yaml}---\n\n#{body}"
|
||||||
|
|
Loading…
Reference in a new issue