Эх сурвалжийг харах

refactor(baseof): added main blocks to two stray templates

Russell J. Hewett 6 жил өмнө
parent
commit
57c72011cb

+ 5 - 0
layouts/index.html

@@ -1,4 +1,9 @@
+{{- define "main" -}}
+
 {{ 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" . }}
+
+{{- end -}}

+ 4 - 0
layouts/widget_page/single.html

@@ -1 +1,5 @@
+{{- define "main" -}}
+
 {{ partial "widget_page.html" . }}
+
+{{- end -}}