diff options
-rw-r--r-- | exampleSite/config.toml | 6 | ||||
-rw-r--r-- | 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 @@ <li class="mb-3"> <div class="font-weight-bold">{{ .name }}</div> <div class="text-muted">{{ .body }}</div> + <div class="text-muted">{{ .date }}</div> </li> {{ end }} </ul> |