From 4d979d130ac0798f4e048f334d62b0e696ae5f36 Mon Sep 17 00:00:00 2001 From: Tyler Lawson Date: Fri, 22 Jan 2021 00:15:47 -0500 Subject: prettified --- layouts/_default/baseof.html | 8 ++--- layouts/index.html | 64 +++++++++++++++++++-------------------- layouts/partials/experiences.html | 23 ++++++++------ layouts/partials/head.html | 5 ++- layouts/partials/header.html | 16 +++++----- layouts/partials/schools.html | 23 ++++++++------ 6 files changed, 75 insertions(+), 64 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 662f8c7..9803849 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ - {{- partial "head.html" . -}} - - {{- block "main" . }}{{- end }} - + {{- partial "head.html" . -}} + + {{- block "main" . }}{{- end }} + diff --git a/layouts/index.html b/layouts/index.html index 4fdc5f9..b851493 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,35 +1,35 @@ {{ define "main" }} -
- {{ with .Site.Data.content }} -
-
- {{ partial "header.html" . }} - {{ with .objective}} -
-

Objective

-

- {{ . }} -

-
- {{ end }} - {{ with .schools }} - {{ partial "schools.html" . }} - {{ end }} - {{ with .experiences }} - {{ partial "experiences.html" . }} - {{ end }} - {{ range .info }} -
-

{{ .name }}

-
    - {{ range .points }} -
  • {{ . | markdownify }}
  • +
    + {{ with .Site.Data.content }} +
    +
    + {{ partial "header.html" . }} + {{ with .objective }} +
    +

    Objective

    +

    + {{ . }} +

    +
    + {{ end }} + {{ with .schools }} + {{ partial "schools.html" . }} + {{ end }} + {{ with .experiences }} + {{ partial "experiences.html" . }} {{ end }} -
-
- {{ end }} -
-
- {{ end }} -
+ {{ range .info }} +
+

{{ .name }}

+ +
+ {{ end }} + + + {{ end }} + {{ end }} diff --git a/layouts/partials/experiences.html b/layouts/partials/experiences.html index 3d0a464..950c5b3 100644 --- a/layouts/partials/experiences.html +++ b/layouts/partials/experiences.html @@ -1,16 +1,19 @@

Experience

{{ range . }} -
-
-

{{ .position }} at {{ .company }} - {{ .location }}

-

{{ .startdate }} - {{ if .enddate }}{{ .enddate }}{{ else }}Current{{ end }}

+
+
+

{{ .position }} at {{ .company }} - {{ .location }}

+

+ {{ .startdate }} - + {{ if .enddate }}{{ .enddate }}{{ else }}Current{{ end }} +

+
+
    + {{ range .points }} +
  • {{ . | markdownify }}
  • + {{ end }} +
-
    - {{ range .points }} -
  • {{ . | markdownify }}
  • - {{ end }} -
-
{{ end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 82a3359..ac4c693 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,9 @@ {{ .Site.Title }} - + {{ $style := resources.Get "main.scss" | toCSS }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d7f5dfd..307bc5b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,18 +5,20 @@
{{ with .email }} - {{ . }} + {{ . }} {{ end }} {{ with .phone }} - ({{substr . 0 3}}) {{substr . 3 3}}-{{substr . 6 4}} + ({{ substr . 0 3 }}) {{ substr . 3 3 }}-{{ substr . 6 4 }} {{ end }} - {{ with .website}} - {{ . }} + {{ with .website }} + {{ . }} {{ end }} {{ with .github }} - {{ . }} + {{ . }} {{ end }}
diff --git a/layouts/partials/schools.html b/layouts/partials/schools.html index 3daf5ac..390d022 100644 --- a/layouts/partials/schools.html +++ b/layouts/partials/schools.html @@ -1,16 +1,19 @@

Education

{{ range . }} -
-
-

{{ .name }} - {{ .location }}

-

{{ .startdate }} - {{ if .enddate }}{{ .enddate }}{{ else }}Current{{ end }}

+
+
+

{{ .name }} - {{ .location }}

+

+ {{ .startdate }} - + {{ if .enddate }}{{ .enddate }}{{ else }}Current{{ end }} +

+
+ {{ range .degrees }} +

+ {{ . }} +

+ {{ end }}
- {{ range .degrees }} -

- {{ . }} -

- {{ end }} -
{{ end }}
-- cgit v1.2.3