refactor: move fallback theme from config to theme parser

This commit is contained in:
George Cushen committed 2022-01-19 22:32:38 +00:00
1 parent 273bbe2370
commit fb267f3b02
1 file changed
+4 -3
+4 -3
View File
@@ -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 */}}