From 4cf3f2e6297878a4a6303a886e24addd5cf4580f Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Wed, 6 Sep 2023 21:44:11 +0200 Subject: Simplify and consolidate page styles Use the section template instead of defining a new page type for the about page. In general I could build on pieces of markdown for each subsection. --- layouts/_default/single.html | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 894caf5..d12dd07 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,4 @@ {{ define "main" }} -

{{ .Title }} @@ -25,15 +24,11 @@ {{ if isset .Params "metadata" }} {{ partial "metadata.html" . }} {{ end }} - -

- -
+
{{ .Content }} -
-
-
+
+
{{ if isset .Params "metadata" }} {{ partial "author_card" . }} {{ end }} -- cgit v1.2.3