skip archived repos
This commit is contained in:
parent
bf72867215
commit
f0194fae17
|
@ -97,7 +97,8 @@ $parser = Tildeverse\Wiki\Parser::factory();
|
|||
<h4>on our <a href="https://tildegit.org/team">gitea</a></h4>
|
||||
<hr>
|
||||
<div class="list-group">
|
||||
<?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos")) ?? [] as $repo): ?>
|
||||
<?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos")) ?? [] as $repo):
|
||||
if ($repo->archived) continue; ?>
|
||||
<div class="list-group-item">
|
||||
<h3 style="display:inline;" class="list-group-item-heading">
|
||||
<a href="<?=$repo->html_url?>"><?=$repo->name?></a>
|
||||
|
|
Loading…
Reference in New Issue