This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
sitio/Lista de páginas.gen

12 lines
255 B
Text
Raw Permalink Normal View History

#!/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>"