From 5b652a1bb136accac19592614bf8b7cdcf18343b Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 29 Mar 2019 16:15:43 +0100 Subject: Add home page placeholder to not display empty page --- layouts/home.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 layouts/home.html (limited to 'layouts/home.html') diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..d2db819 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,29 @@ + +{{- partial "docs/shared" -}} + + + + {{ partial "docs/html-head" . }} + {{ partial "docs/inject/head" . }} + +{{- $content := ` +# Hugo Book Theme + +This is a placeholder for home page. +You can override this page in: + + - `/content/_index.md` + - `/layouts/home.html` +` -}} + +
+
+ {{ replace $content "`" "`" | markdownify }} +
+
+ + {{ partial "docs/inject/body" . }} + {{ template "_internal/google_analytics_async.html" . }} + + + -- cgit v1.2.3