From af3c5b40c6eb61740cf406822909864feb6b681c Mon Sep 17 00:00:00 2001 From: f Date: Fri, 16 Aug 2019 20:32:17 -0300 Subject: [PATCH] =?UTF-8?q?no=20procesar=20tags=20de=20liquid=20en=20los?= =?UTF-8?q?=20art=C3=ADculos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/post.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/post.rb b/app/models/post.rb index 9803b16..5222ef0 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -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