diff --git a/layouts/index.html b/layouts/index.html index be2a87d8..d79d8ced 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,9 @@ +{{- define "main" -}} + {{ if not (isset site.Params "color_theme") }} {{ errorf "Please complete the installation of Academic by following the steps at https://sourcethemes.com/academic/docs/install/" }} {{ end }} -{{- define "main" -}} {{ partial "widget_page.html" . }} + {{- end -}}