From 639ea17a8817b110023cba9b2924232064368ddc Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Mon, 11 Mar 2024 20:15:32 +0200 Subject: [PATCH] Timeline and projects for learning jam --- src/templates/mapping.go | 3 ++ src/templates/src/jam_2024_lj_feed.html | 49 ++++++++++++++----- src/templates/src/jam_2024_lj_index.html | 2 +- .../src/layouts/jam_2024_learning_base.html | 24 ++++++++- src/templates/templates.go | 6 +++ src/website/jam.go | 9 ++++ 6 files changed, 79 insertions(+), 14 deletions(-) diff --git a/src/templates/mapping.go b/src/templates/mapping.go index 7a272599..d5fe5362 100644 --- a/src/templates/mapping.go +++ b/src/templates/mapping.go @@ -103,6 +103,9 @@ func ProjectToTemplate( func ProjectAndStuffToTemplate(p *hmndata.ProjectAndStuff, url string, theme string) Project { res := ProjectToTemplate(&p.Project, url) res.Logo = ProjectLogoUrl(&p.Project, p.LogoLightAsset, p.LogoDarkAsset, theme) + for _, o := range p.Owners { + res.Owners = append(res.Owners, UserToTemplate(o, theme)) + } return res } diff --git a/src/templates/src/jam_2024_lj_feed.html b/src/templates/src/jam_2024_lj_feed.html index 16fb04bc..24acf7b8 100644 --- a/src/templates/src/jam_2024_lj_feed.html +++ b/src/templates/src/jam_2024_lj_feed.html @@ -17,7 +17,7 @@ -
+