Make repo list take up less space

This commit is contained in:
Robert Miles 2018-07-17 19:18:13 -04:00
parent 516a65d03b
commit 8c6f3c4368
1 changed files with 1 additions and 5 deletions

View File

@ -6,11 +6,7 @@
<?php foreach (json_decode(file_get_contents("https://git.tilde.team/api/v1/orgs/tildeverse/repos")) ?? [] as $repo): ?>
<div class="list-group-item">
<h3 class="list-group-item-heading"><a href="<?=$repo->html_url?>"><?=$repo->name?></a></h3>
<p class="list-group-item-text"><?=$repo->description?></p>
<?php if ($repo->website != ""): ?>
<hr style="border-top: 1px solid #000;">
<em><a href="<?=$repo->website?>"><?=$repo->website?></a></em>
<?php endif; ?>
<p class="list-group-item-text"><?=$repo->description?><?php if ($repo->website != ""): ?> - <em><a href="<?=$repo->website?>"><?=$repo->website?></a></em><?php endif; ?></p>
</div>
<?php endforeach;?>
</div>