diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-11-28 23:52:43 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-11-28 23:52:43 +0300 |
commit | 45dc9313719539a8b6fc8762c4f260741f1ef960 (patch) | |
tree | 54e00e658355b9f964d86037cbded6fefa6a7c0a | |
parent | 7f515cdc85ef7d8585429009d4e44d455c1afda9 (diff) |
Add dates to projects
-rw-r--r-- | content/projects/Gitlytics.md | 2 | ||||
-rw-r--r-- | content/projects/Paintball.md | 2 | ||||
-rw-r--r-- | layouts/partials/body/projects.html | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/content/projects/Gitlytics.md b/content/projects/Gitlytics.md index eb28c81..edada27 100644 --- a/content/projects/Gitlytics.md +++ b/content/projects/Gitlytics.md @@ -1,6 +1,8 @@ --- title: Gitlytics tags: ["Python", "Flask", "React", "PostgreSQL", "Docker"] +start_date: 2020-06-01 +end_date : --- - Developed a full-stack web application using with Flask serving a REST API with React as the frontend - Implemented GitHub OAuth to get data from user’s repositories diff --git a/content/projects/Paintball.md b/content/projects/Paintball.md index b79a7c4..c0ffb42 100644 --- a/content/projects/Paintball.md +++ b/content/projects/Paintball.md @@ -1,6 +1,8 @@ --- title: Simple Paintball tags: ["Spigot API", "Java", "Maven", "TravisCI", "Git"] +start_date: 2018-05-01 +end_date : 2020-05-01 --- - Developed a Minecraft server plugin to entertain kids during free time for a previous job - Published plugin to websites gaining 2K+ downloads and an average 4.5/5-star review diff --git a/layouts/partials/body/projects.html b/layouts/partials/body/projects.html index 98d9b6c..9897226 100644 --- a/layouts/partials/body/projects.html +++ b/layouts/partials/body/projects.html @@ -8,7 +8,10 @@ <td><strong>{{ .Title }} </strong><span>|</span> <em>{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em> </td> - <td style="text-align: right;">June 2020 – Present</td> + <td style="text-align: right;"> + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} + </td> </tr> </tbody> </table> |