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
|
# Asegurarse que haya un layout
|
||||||
yaml['layout'] = layout.name.to_s
|
yaml['layout'] = layout.name.to_s
|
||||||
|
# Y que no se procese liquid
|
||||||
|
yaml['liquid'] = false
|
||||||
|
|
||||||
"#{yaml.to_yaml}---\n\n#{body}"
|
"#{yaml.to_yaml}---\n\n#{body}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue