From a85919e3054f2d74deb6d73efa705a38c23aaef6 Mon Sep 17 00:00:00 2001 From: Jerry Kiely Date: Mon, 4 Nov 2019 01:44:23 +0000 Subject: [PATCH] minor change to awards partial - added separate date --- exampleSite/config.toml | 6 ++++-- layouts/partials/awards.html | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f8820be..cf35a4a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -121,10 +121,12 @@ googleAnalytics = "UA-XXXXXXX-Y" [[params.awards.list]] name = "Award Lorem Ipsum" - body = "Microsoft lorem ipsum (2019)" + body = "Microsoft lorem ipsum" + date = "2019" [[params.awards.list]] name = "Award Donec Sodales" - body = "Oracle Aenean (2017)" + body = "Oracle Aenean" + date = "2017" diff --git a/layouts/partials/awards.html b/layouts/partials/awards.html index 4c75ebd..da74f12 100644 --- a/layouts/partials/awards.html +++ b/layouts/partials/awards.html @@ -7,6 +7,7 @@
  • {{ .name }}
    {{ .body }}
    +
    {{ .date }}
  • {{ end }}