From fb267f3b02874c038a80988302acf8159d6aebde Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 19 Jan 2022 22:32:38 +0000 Subject: [PATCH] refactor: move fallback theme from config to theme parser --- wowchemy/layouts/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wowchemy/layouts/index.html b/wowchemy/layouts/index.html index ce924e00..0bf02b49 100644 --- a/wowchemy/layouts/index.html +++ b/wowchemy/layouts/index.html @@ -1,9 +1,10 @@ {{- define "main" -}} {{/* Check that user fully installed Wowchemy. */}} -{{ if not (isset site.Params "theme") }} - {{ errorf "Please complete the installation of Wowchemy by following the steps at https://wowchemy.com/docs/install/" }} -{{ end }} +{{/* Commented out to allow user to have no params.yaml and just use the defaults. */}} +{{/* if not (isset site.Params "seo") */}} + {{/* errorf "Please complete the installation of Wowchemy by following the steps at https://wowchemy.com/docs/install/" */}} +{{/* end */}} {{/* Deprecation warnings */}}