Add bump list

This commit is contained in:
Robert Miles 2018-06-26 22:43:57 -04:00
parent 838b3c0f9c
commit 4cf8e4db4e
1 changed files with 6 additions and 0 deletions

View File

@ -7,4 +7,10 @@
include "parsedown/Parsedown.php";
$p = new Parsedown();
echo $p->text(file_get_contents("arc{$arc_san}.md"));
echo "\n\t<h4>Bumps</h4>\n\t<ul>\n";
foreach (glob("./arc{$arc_san}/bump*.yml") as $bumpyml) {
$num = substr(basename($bumpyml,".yml"),4);
echo "\t\t<li><a href='index.php?arc={$arc_san}&bump={$num}'>Bump {$num}</a></li>\n";
}
echo "\t</ul>\n";
?>