Rendering arbitrary Liquid variables by default (#7414)

Merge pull request 7414
This commit is contained in:
Ashwin Maroli
2020-11-11 18:19:58 +05:30
committed by GitHub
parent 661f0fa1b1
commit eae71e6235

View File

@@ -49,6 +49,20 @@ Feature: Rendering
Then I should get a zero exit-status
And I should not see "Liquid Exception:" in the build output
Scenario: Rendering a default site containing a file with a non-existent Liquid variable
Given I have a "index.html" file with content:
"""
---
title: Simple Test
---
{{ site.lorem.ipsum }}
{{ site.title }}
"""
And I have a configuration file with "title" set to "Hello World"
When I run jekyll build
Then I should get a zero exit-status
And the _site directory should exist
Scenario: Rendering a custom site containing a file with a non-existent Liquid variable
Given I have a "index.html" file with content:
"""