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:
parent
660fc9d7ad
commit
af3c5b40c6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue