From 57c72011cb6c7c54bf2ca9e97901d4ddbfba2cca Mon Sep 17 00:00:00 2001 From: "Russell J. Hewett" Date: Thu, 30 May 2019 22:14:27 -0400 Subject: [PATCH] refactor(baseof): added main blocks to two stray templates --- layouts/index.html | 5 +++++ layouts/widget_page/single.html | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/layouts/index.html b/layouts/index.html index 61d90826..d79d8ced 100644 --- a/layouts/index.html +++ b/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 -}} diff --git a/layouts/widget_page/single.html b/layouts/widget_page/single.html index e1d285b7..413b2926 100644 --- a/layouts/widget_page/single.html +++ b/layouts/widget_page/single.html @@ -1 +1,5 @@ +{{- define "main" -}} + {{ partial "widget_page.html" . }} + +{{- end -}}