Skip to content

Commit

Permalink
Fix download link
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Aug 25, 2023
1 parent ec83a97 commit 947e4cb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function get($metadata, $name){
<section>
<h3 id="package-<?=$pkgname?>">
<?=$pkgname?>
<a href="#package-<?=$pkgname?>">⚓</a>
<sup><a href="#package-<?=$pkgname?>">⚓</a></sup>
</h3>
<aside>
<table>
Expand Down Expand Up @@ -172,9 +172,7 @@ function get($metadata, $name){
<?php if(has($metadata, 'url')){ ?>
<a href="<?=get($metadata, 'url')?>">Website</a>
<?php } ?>
<?php if($filename){ ?>
<a href="<?=$name.'/'.$filename?>">Download</a>
<?php } ?>
<a href="<?=name?>/<?=$file?>">📥 Download</a>
</sub>
</p>
<p>
Expand Down

0 comments on commit 947e4cb

Please sign in to comment.