summaryrefslogtreecommitdiff
path: root/layouts/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/home.html')
-rw-r--r--layouts/home.html29
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:
+
+ - &#96;/content/_index.md&#96;
+ - &#96;/layouts/home.html&#96;
+` -}}
+<body>
+ <main class="flex justify-center">
+ <div class="book-page markdown">
+ {{ replace $content "&#96;" "`" | markdownify }}
+ </div>
+ </main>
+
+ {{ partial "docs/inject/body" . }}
+ {{ template "_internal/google_analytics_async.html" . }}
+</body>
+
+</html>