5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:21:42 +00:00

no procesar tags de liquid en los artículos

This commit is contained in:
f 2019-08-16 20:32:17 -03:00
parent 660fc9d7ad
commit af3c5b40c6
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -130,6 +130,8 @@ class Post < OpenStruct
# Asegurarse que haya un layout
yaml['layout'] = layout.name.to_s
# Y que no se procese liquid
yaml['liquid'] = false
"#{yaml.to_yaml}---\n\n#{body}"
end