From 45dc9313719539a8b6fc8762c4f260741f1ef960 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Tue, 28 Nov 2023 23:52:43 +0300 Subject: Add dates to projects --- layouts/partials/body/projects.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'layouts/partials/body/projects.html') 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 }} + -- cgit v1.2.3