From e07831ef665b3fcecccf6444c324aea4e9a68e22 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Thu, 4 Apr 2024 04:50:20 -0700 Subject: [PATCH] Simplify page layout --- layouts/_default/single.html | 6 +++--- layouts/index.html | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 97d1df22..8f8f0ad1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,13 +1,13 @@ {{ define "main" }} -
+
{{ partial "breadcrumbs.html" . }}

{{ .Title }}

{{ if .Params.Subtitle }}
{{ .Params.Subtitle }}
{{ end }} -
- {{ .Content }} +
+ {{ .Content }}
{{ partial "shortcuts.html" . }} diff --git a/layouts/index.html b/layouts/index.html index ec6cd184..b62c7aec 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,11 +8,9 @@ {{ end }} {{ if .Content }} -
+
-
- {{ .Content }} -
+ {{ .Content }}
{{ end }}