From 3b7a6747eae05fbd29921efd406bece91341ac09 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 12 Oct 2016 02:10:34 +0100 Subject: [PATCH] about widget: Make `year` optional --- layouts/partials/widgets/about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html index ca62b920..b3526662 100644 --- a/layouts/partials/widgets/about.html +++ b/layouts/partials/widgets/about.html @@ -62,7 +62,7 @@
  • -

    {{ .course }}, {{ .year }}

    +

    {{ .course }}{{ with .year }}, {{ . }}{{ end }}

    {{ .institution }}