Parcourir la source

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

Russell J. Hewett il y a 6 ans
Parent
commit
57c72011cb
2 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 5 0
      layouts/index.html
  2. 4 0
      layouts/widget_page/single.html

+ 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 -}}