aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/body/projects.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/body/projects.html')
-rw-r--r--layouts/partials/body/projects.html5
1 files changed, 4 insertions, 1 deletions
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>