Try to make liquid more strict (#8216)

Instead of warnings it should output error messages on the console for each error and stop the build.
This commit is contained in:
Jorim Tielemans 2019-01-21 21:39:31 +01:00 committed by Franck Nijhof
parent aead0482c7
commit f52df0c342

View File

@ -32,8 +32,12 @@ destination: public/
plugins_dir: plugins plugins_dir: plugins
code_dir: downloads/code code_dir: downloads/code
category_dir: blog/categories category_dir: blog/categories
markdown: kramdown markdown: kramdown
highlighter: rouge
timezone: UTC timezone: UTC
liquid:
error_mode: strict
kramdown: kramdown:
input: GFM input: GFM
@ -44,8 +48,6 @@ kramdown:
smart_quotes: lsquo,rsquo,ldquo,rdquo smart_quotes: lsquo,rsquo,ldquo,rdquo
parse_block_html: true parse_block_html: true
highlighter: rouge
plugins: plugins:
- jekyll-redirect-from - jekyll-redirect-from
- jekyll-time-to-read - jekyll-time-to-read