1
0

Add education content

This commit is contained in:
Serghei Cebotari 2023-11-30 00:06:46 +03:00
parent f88055964d
commit 48117f0dea
4 changed files with 33 additions and 14 deletions

7
archetypes/education.md Normal file
View File

@ -0,0 +1,7 @@
---
title: '{{ replace .File.ContentBaseName `-` ` ` | title }}'
degree: Degree
location: City
start_date: '{{ .Date }}'
end_date :
---

View File

@ -0,0 +1,7 @@
---
title: Blinn College
degree: Associates in Liberal Arts
location: Bryan, TX
start_date: 2014-08-01
end_date : 2018-05-01
---

View File

@ -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
---

View File

@ -1,23 +1,21 @@
{{ with .Site.GetPage "/education" }}
<h3>Education</h3>
<table>
<tbody>
{{ range sort (.Pages) "Params.end_date" "desc" }}
<tr>
<td><strong>Southwestern University</strong></td>
<td style="text-align: right;">Georgetown, TX</td>
<td><strong>{{ .Title }}</strong></td>
<td style="text-align: right;">{{ with .Params.location}}{{ . }}{{ end }}</td>
</tr>
<tr>
<td><em>Bachelor of Arts in Computer Science, Minor in
Business</em>
<td><em>{{ with .Params.degree}}{{ . }}{{ end }}</em>
</td>
<td style="text-align: right;"><em>
{{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }}
{{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}</em>
</td>
<td style="text-align: right;"><em>Aug. 2018 May 2021</em></td>
</tr>
<tr>
<td><strong>Blinn College</strong></td>
<td style="text-align: right;">Bryan, TX</td>
</tr>
<tr>
<td><em>Associates in Liberal Arts</em></td>
<td style="text-align: right;"><em>Aug. 2014 May 2018</em></td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }}