Ver Fonte

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 há 7 anos atrás
pai
commit
8d596ffed2
1 ficheiros alterados com 3 adições e 0 exclusões
  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" . }}