Преглед на файлове

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
George Cushen преди 7 години
родител
ревизия
8d596ffed2
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      layouts/index.html

+ 3 - 0
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" . }}