11 lines
255 B
Bash
Executable file
11 lines
255 B
Bash
Executable file
#!/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>"
|