Browse Source

fix: 9263fcd3c9974a577c5d5492afb6dbeeff17fbb0

gcushen 6 years ago
parent
commit
c2455378cc
1 changed files with 3 additions and 1 deletions
  1. 3 1
      layouts/index.html

+ 3 - 1
layouts/index.html

@@ -1,7 +1,9 @@
+{{- define "main" -}}
+
 {{ if not (isset site.Params "color_theme") }}
 {{ 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/" }}
   {{ errorf "Please complete the installation of Academic by following the steps at https://sourcethemes.com/academic/docs/install/" }}
 {{ end }}
 {{ end }}
 
 
-{{- define "main" -}}
 {{ partial "widget_page.html" . }}
 {{ partial "widget_page.html" . }}
+
 {{- end -}}
 {{- end -}}