Parcourir la source

refactor: move fallback theme from config to theme parser

George Cushen il y a 3 ans
Parent
commit
fb267f3b02
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      wowchemy/layouts/index.html

+ 4 - 3
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 */}}