From 45dc9313719539a8b6fc8762c4f260741f1ef960 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Tue, 28 Nov 2023 23:52:43 +0300 Subject: [PATCH] Add dates to projects --- content/projects/Gitlytics.md | 2 ++ content/projects/Paintball.md | 2 ++ layouts/partials/body/projects.html | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) 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 @@ {{ .Title }} | {{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}} - June 2020 – Present + + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} +