From 8d596ffed2d080010c561679cf4e9b4da1554781 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 29 Jun 2018 22:26:56 +0100 Subject: [PATCH] Perform check that site is correctly configured Display informative error message if user attempted to clone/download Academic without following all the installation steps. Close #491 --- layouts/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/index.html b/layouts/index.html index e1d285b7..93bdb427 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1 +1,4 @@ +{{ 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 }} {{ partial "widget_page.html" . }}