From 48117f0deaf318298947c9f5a6fe447572ba2353 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Thu, 30 Nov 2023 00:06:46 +0300 Subject: [PATCH] Add education content --- archetypes/education.md | 7 ++++++ content/education/Blinn-College.md | 7 ++++++ content/education/Southwestern-University.md | 7 ++++++ layouts/partials/body/education.html | 26 +++++++++----------- 4 files changed, 33 insertions(+), 14 deletions(-) create mode 100644 archetypes/education.md create mode 100644 content/education/Blinn-College.md create mode 100644 content/education/Southwestern-University.md diff --git a/archetypes/education.md b/archetypes/education.md new file mode 100644 index 0000000..825f9df --- /dev/null +++ b/archetypes/education.md @@ -0,0 +1,7 @@ +--- +title: '{{ replace .File.ContentBaseName `-` ` ` | title }}' +degree: Degree +location: City +start_date: '{{ .Date }}' +end_date : +--- \ No newline at end of file diff --git a/content/education/Blinn-College.md b/content/education/Blinn-College.md new file mode 100644 index 0000000..e11a9ad --- /dev/null +++ b/content/education/Blinn-College.md @@ -0,0 +1,7 @@ +--- +title: Blinn College +degree: Associate’s in Liberal Arts +location: Bryan, TX +start_date: 2014-08-01 +end_date : 2018-05-01 +--- \ No newline at end of file diff --git a/content/education/Southwestern-University.md b/content/education/Southwestern-University.md new file mode 100644 index 0000000..3c1d528 --- /dev/null +++ b/content/education/Southwestern-University.md @@ -0,0 +1,7 @@ +--- +title: Southwestern University +degree: Bachelor of Arts in Computer Science, Minor in Business +location: Georgetown, TX +start_date: 2018-08-01 +end_date : 2021-05-01 +--- \ No newline at end of file diff --git a/layouts/partials/body/education.html b/layouts/partials/body/education.html index cacd0db..f32f6ba 100644 --- a/layouts/partials/body/education.html +++ b/layouts/partials/body/education.html @@ -1,23 +1,21 @@ +{{ with .Site.GetPage "/education" }}

Education

+ {{ range sort (.Pages) "Params.end_date" "desc" }} - - + + - + - - - - - - - - - + {{ end }} -
Southwestern UniversityGeorgetown, TX{{ .Title }}{{ with .Params.location}}{{ . }}{{ end }}
Bachelor of Arts in Computer Science, Minor in - Business + {{ with .Params.degree}}{{ . }}{{ end }} + + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} Aug. 2018 – May 2021
Blinn CollegeBryan, TX
Associate’s in Liberal ArtsAug. 2014 – May 2018
\ No newline at end of file + +{{ end }} \ No newline at end of file