diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-03-29 16:15:43 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-03-29 16:19:39 +0100 |
commit | 5b652a1bb136accac19592614bf8b7cdcf18343b (patch) | |
tree | 132204da29e431a49c227aa2cd8f402f0702ea05 /layouts/home.html | |
parent | 9a8b89cf245497b72e077c3437ef0b8fbdc1cbb7 (diff) |
Add home page placeholder to not display empty page
Diffstat (limited to 'layouts/home.html')
-rw-r--r-- | layouts/home.html | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +{{- partial "docs/shared" -}} +<html> + +<head> + {{ partial "docs/html-head" . }} + {{ partial "docs/inject/head" . }} +</head> +{{- $content := ` +# Hugo Book Theme + +This is a placeholder for home page. +You can override this page in: + + - `/content/_index.md` + - `/layouts/home.html` +` -}} +<body> + <main class="flex justify-center"> + <div class="book-page markdown"> + {{ replace $content "`" "`" | markdownify }} + </div> + </main> + + {{ partial "docs/inject/body" . }} + {{ template "_internal/google_analytics_async.html" . }} +</body> + +</html> |