5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 04:51:42 +00:00

fix: agregar created_at al front matter
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-09-13 17:59:50 -03:00
parent 35e8a08716
commit d27717ed3b
No known key found for this signature in database

View file

@ -272,6 +272,7 @@ class Post
# Y que no se procese liquid
yaml['liquid'] = false
yaml['usuaries'] = usuaries.map(&:id).uniq
yaml['created_at'] = created_at.value
yaml['last_modified_at'] = modified_at
"#{yaml.to_yaml}---\n\n#{body}"