Allow multiple code forges of the About page

...and also add all the three of my forges, in the order of decreasing
frequency of use.
This commit is contained in:
Alexander Batischev 2022-05-20 23:41:33 +03:00
parent ceeeaa9ce1
commit adee3f3d75
No known key found for this signature in database
GPG Key ID: 356961A20C8BFD03
2 changed files with 11 additions and 6 deletions

View File

@ -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": [ ]
}
]
}

View File

@ -24,8 +24,13 @@ layout: layout
<li>• <span>site:</span> <a href="https://<%= team[u].site %>"><%= team[u].site %></a></li>
<% } %>
<li>• <span>fedi account:</span> <a href="https://<%= team[u].fediacc %>"><%= team[u].fediacc %></a></li>
<% if (team[u].gitacc) { %>
<li>• <span>code:</span> <a href="https://<%= team[u].gitacc %>"><%= team[u].gitacc %></a></li>
<% if (team[u].gitaccs && team[u].gitaccs.length) { %>
<li>• <span>code:</span>
<% for (let i = 0; i < team[u].gitaccs.length - 1; ++i) { %>
<a href="https://<%= team[u].gitaccs[i] %>"><%= team[u].gitaccs[i] %></a>,
<% } %>
<a href="https://<%= team[u].gitaccs[ team[u].gitaccs.length - 1 ] %>"><%= team[u].gitaccs[ team[u].gitaccs.length - 1 ] %></a>
</li>
<% } %>
<li>• <span>info:</span> <%= team[u].info %></li>
</ul>