refactor: update installation checks

Fix #1308
This commit is contained in:
George Cushen committed 2019-08-30 14:37:43 +03:00
1 parent aa13a4d28c
commit 166ded2480
1 file changed
+3 -1
+3 -1
View File
@@ -1,9 +1,11 @@
{{- define "main" -}}
{{ if not (isset site.Params "color_theme") }}
{{/* Check that user fully installed Academic. */}}
{{ if not (isset site.Params "theme") }}
{{ errorf "Please complete the installation of Academic by following the steps at https://sourcethemes.com/academic/docs/install/" }}
{{ end }}
{{/* Generate homepage. */}}
{{ partial "widget_page.html" . }}
{{- end -}}