소스 검색

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