You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
255 B

#!/bin/sh
echo "<ul>"
for file in *.md; do
title="$(basename "$file" .md)"
echo "<li><a href='$title.html'>$title</a></li>"
done
for file in *.gen; do
title="$(basename "$file" .gen)"
echo "<li><a href='$title.html'>$title</a></li>"
done
echo "</ul>"