From 4800d22fb63db9e5bb477a4fe3c0b1266b21c829 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 25 Sep 2022 07:53:07 -0700 Subject: [PATCH] Update the resume template and styles --- content/resume/style.css | 9 +++------ layouts/resume/single.html | 40 +++++++++++++++----------------------- 2 files changed, 19 insertions(+), 30 deletions(-) diff --git a/content/resume/style.css b/content/resume/style.css index f66da32..b1b6f38 100644 --- a/content/resume/style.css +++ b/content/resume/style.css @@ -13,10 +13,7 @@ font-style: italic; } -header h3 { - margin-bottom: 0; -} +header h3 { margin-block-end: 0.5rem; } -ul { - margin-top: 0; -} \ No newline at end of file +ul { margin-top: 0; } +li { margin-block-end: 0.75rem; } diff --git a/layouts/resume/single.html b/layouts/resume/single.html index 1608f8f..b224ec8 100644 --- a/layouts/resume/single.html +++ b/layouts/resume/single.html @@ -1,25 +1,17 @@ -{{ define "main" }} - -
-
-

{{ .Title }}

-
- -
- {{ .Content }} -
- - - {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} - {{ if and (gt (len $pages) 1) (in $pages . ) }} - - {{ end }} -
- +{{ define "header" }} + {{ partial "header.html" . }} +{{ end }} + +{{ define "main" }} +
+

{{ .Title }}

+
+ +
+ {{ .Content }} +
+{{ end }} + +{{ define "footer" }} + {{ partial "footer.html" . }} {{ end }}