Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
8d596ffed2
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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" . }}