Преглед на файлове

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

Russell J. Hewett преди 6 години
родител
ревизия
57c72011cb
променени са 2 файла, в които са добавени 9 реда и са изтрити 0 реда
  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 -}}