From eae71e6235896e84fe2311f77254af2b6eafe746 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Wed, 11 Nov 2020 18:19:58 +0530 Subject: [PATCH] Rendering arbitrary Liquid variables by default (#7414) Merge pull request 7414 --- features/rendering.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/features/rendering.feature b/features/rendering.feature index 25ed4b344..e13fe17f5 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: """