From eae71e6235896e84fe2311f77254af2b6eafe746 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Nov 11 2020 12:49:58 +0000 Subject: Rendering arbitrary Liquid variables by default (#7414) Merge pull request 7414 --- diff --git a/features/rendering.feature b/features/rendering.feature index 25ed4b3..e13fe17 100644 --- a/features/rendering.feature +++ b/features/rendering.feature @@ -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: """