Add bump list
This commit is contained in:
parent
838b3c0f9c
commit
4cf8e4db4e
6
arc.php
6
arc.php
|
@ -7,4 +7,10 @@
|
||||||
include "parsedown/Parsedown.php";
|
include "parsedown/Parsedown.php";
|
||||||
$p = new Parsedown();
|
$p = new Parsedown();
|
||||||
echo $p->text(file_get_contents("arc{$arc_san}.md"));
|
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";
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue