5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 23:16: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:
Sutty 2023-09-01 23:12:33 +00:00
commit 7be607fc80

View file

@ -271,6 +271,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}"