5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 03:01:41 +00:00

Merge branch 'issue-14323' into 'rails'

fix: no renderizar liquid dentro de los artículos #14323

See merge request sutty/sutty!204
This commit is contained in:
fauno 2024-01-02 18:26:07 +00:00
commit 8f1ea7d8c8

View file

@ -270,7 +270,7 @@ class Post
yaml['layout'] = layout.name.to_s yaml['layout'] = layout.name.to_s
yaml['uuid'] = uuid.value yaml['uuid'] = uuid.value
# Y que no se procese liquid # Y que no se procese liquid
yaml['liquid'] = false yaml['render_with_liquid'] = false
yaml['usuaries'] = usuaries.map(&:id).uniq yaml['usuaries'] = usuaries.map(&:id).uniq
yaml['created_at'] = created_at.value yaml['created_at'] = created_at.value
yaml['last_modified_at'] = modified_at yaml['last_modified_at'] = modified_at