diff --git a/source/_data/about.json b/source/_data/about.json index 61735eb..372d4cd 100644 --- a/source/_data/about.json +++ b/source/_data/about.json @@ -8,7 +8,7 @@ "info": "creator and maintainer of this website; likes cats and frontend design", "name": "", "site": "", - "gitacc": "codeberg.org/lostinlight" + "gitaccs": [ "codeberg.org/lostinlight" ] }, { "nickname": "minoru", @@ -17,7 +17,7 @@ "info": "admin of this website, creator of nodes.fediverse.party; maintainer of Newsboat; writes programs in C++, reads sci-fi", "name": "Alexander Batischev", "site": "blog.debiania.in.ua", - "gitacc": "codeberg.org/Minoru" + "gitaccs": [ "github.com/Minoru", "gitlab.com/Minoru-kun", "codeberg.org/Minoru" ] }, { "nickname": "humanetech", @@ -26,7 +26,7 @@ "info": "maintainer of this website's Wiki pages, creator of Delightful lists that are input to this website; FOSS and Fediverse advocate, mod at SocialHub, facilitates Humane Tech Community", "name": "Arnold Schrijver", "site": "", - "gitacc": "codeberg.org/circlebuilder" + "gitaccs": [ "codeberg.org/circlebuilder" ] }, { "nickname": "strypey", @@ -35,7 +35,7 @@ "info": "creator of this website's Wiki pages, community developer", "name": "Danyl Strype", "site": "", - "gitacc": "" + "gitaccs": [ ] } ] } diff --git a/themes/starter/layout/about.ejs b/themes/starter/layout/about.ejs index 8ac87dc..dacc2e4 100644 --- a/themes/starter/layout/about.ejs +++ b/themes/starter/layout/about.ejs @@ -24,8 +24,13 @@ layout: layout
  • site: <%= team[u].site %>
  • <% } %>
  • fedi account: <%= team[u].fediacc %>
  • - <% if (team[u].gitacc) { %> -
  • code: <%= team[u].gitacc %>
  • + <% if (team[u].gitaccs && team[u].gitaccs.length) { %> +
  • code: + <% for (let i = 0; i < team[u].gitaccs.length - 1; ++i) { %> + <%= team[u].gitaccs[i] %>, + <% } %> + <%= team[u].gitaccs[ team[u].gitaccs.length - 1 ] %> +
  • <% } %>
  • info: <%= team[u].info %>