diff --git a/layouts/partials/work.html b/layouts/partials/work.html index e270a88..bb3734c 100644 --- a/layouts/partials/work.html +++ b/layouts/partials/work.html @@ -28,14 +28,20 @@ {{ else if eq .type "service" }} -{{ .description }}, {{ .source }} -( -{{if isset . "date" }}{{ dateFormat "January 2006" .date }}{{ end }} -{{if isset . "start_date" }}{{ dateFormat "January 2006" .start_date }} to {{ dateFormat "January 2006" .end_date }} {{ end }} -) +{{ .description }}{{if isset . "source"}}, {{ .source }}{{end}} +{{if isset . "date" }} ({{ dateFormat "January 2006" .date }}) {{ end }} +{{if isset . "start_date" }} + {{if isset . "end_date" }} + ({{ dateFormat "January 2006" .start_date }} to {{ dateFormat "January 2006" .end_date }}) + {{ end }} + {{if not (isset . "end_date")}} + ({{ dateFormat "January 2006" .start_date }} to present) + {{end}} + +{{end}} +{{end}} {{ if isset . "exurl" }} {{ end }} -{{ end }} {{if isset . "long_description" }}