瀏覽代碼

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