From 2032795815c6659e142a6795bc32a333c5b9c693 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 22 Jun 2022 15:49:30 -0400 Subject: [PATCH] fix(website): don't center text content for main pages --- website/themes/hsh/layouts/_default/page.html | 3 +-- website/themes/hsh/layouts/_default/single.html | 8 ++++++-- website/themes/hsh/layouts/partials/head.html | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/website/themes/hsh/layouts/_default/page.html b/website/themes/hsh/layouts/_default/page.html index 6ae519b..69aaf99 100644 --- a/website/themes/hsh/layouts/_default/page.html +++ b/website/themes/hsh/layouts/_default/page.html @@ -1,8 +1,7 @@ {{ define "main" }}
-
+
{{.Content}}
{{ end }} - diff --git a/website/themes/hsh/layouts/_default/single.html b/website/themes/hsh/layouts/_default/single.html index 17b274b..0ac0e37 100644 --- a/website/themes/hsh/layouts/_default/single.html +++ b/website/themes/hsh/layouts/_default/single.html @@ -1,4 +1,8 @@ {{ define "main" }} -

{{ .Title }}

-{{ .Content }} +
+
+

{{ .Title }}

+ {{.Content}} +
+
{{ end }} diff --git a/website/themes/hsh/layouts/partials/head.html b/website/themes/hsh/layouts/partials/head.html index 610a5f3..3556074 100644 --- a/website/themes/hsh/layouts/partials/head.html +++ b/website/themes/hsh/layouts/partials/head.html @@ -19,7 +19,7 @@ - +