mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 20:26:22 +00:00
fix: poder mostrar la vista previa sin errores de liquid
closes #8397 closes #8263 closes #8153
This commit is contained in:
parent
f582e692ef
commit
b141b09ee4
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ class Post
|
||||||
'page' => document.to_liquid
|
'page' => document.to_liquid
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# No tener errores de Liquid
|
||||||
|
site.jekyll.config['liquid']['strict_filters'] = false
|
||||||
|
site.jekyll.config['liquid']['strict_variables'] = false
|
||||||
|
|
||||||
# Renderizar lo estrictamente necesario y convertir a HTML para
|
# Renderizar lo estrictamente necesario y convertir a HTML para
|
||||||
# poder reemplazar valores.
|
# poder reemplazar valores.
|
||||||
html = Nokogiri::HTML document.renderer.render_document
|
html = Nokogiri::HTML document.renderer.render_document
|
||||||
|
|
Loading…
Reference in a new issue