From 00c8cab8bb3a5e2676f16ea1f37e551216d66388 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 22 Jun 2022 13:22:36 -0400 Subject: [PATCH] fix(website): add doc layout for doc pages --- website/content/docs/_index.md | 4 ++-- website/themes/hsh/layouts/_default/doc.html | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 website/themes/hsh/layouts/_default/doc.html diff --git a/website/content/docs/_index.md b/website/content/docs/_index.md index bf0061a..9d00fc9 100644 --- a/website/content/docs/_index.md +++ b/website/content/docs/_index.md @@ -1,6 +1,6 @@ --- -title: Docs -layout: page +title: Introduction +layout: doc --- Hello! diff --git a/website/themes/hsh/layouts/_default/doc.html b/website/themes/hsh/layouts/_default/doc.html new file mode 100644 index 0000000..3638c85 --- /dev/null +++ b/website/themes/hsh/layouts/_default/doc.html @@ -0,0 +1,9 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ {{.Content}} +
+
+{{ end }} +