fix: Make index page list elements navigable

This commit is contained in:
lwad 2024-03-30 22:41:41 +00:00
parent 64b663bba9
commit 4eb541728f
2 changed files with 3 additions and 3 deletions

2
.comma
View file

@ -7,7 +7,7 @@ for entry in entries/*.md; do
done | cut -d "/" -f 2 | cut -d "." -f 1 | while read -r entry; do
pandoc -t html --ascii "entries/${entry}.md" -o "entries/${entry}.html"
echo "<link rel=\"stylesheet\" href=\"/style.css\">" >> "entries/${entry}.html"
echo "<li>$entry</li>" >> index.html
echo "<li><a href=\"/entries/$entry\">$entry</a></li>" >> index.html
done
echo "</ul>" >> index.html

View file

@ -1,5 +1,5 @@
<link rel="stylesheet" href="/style.css">
<h1>Luke's Website</h1><ul>
<li>maintainotify</li>
<li>project-manager</li>
<li><a href="/entries/maintainotify">maintainotify</a></li>
<li><a href="/entries/project-manager">project-manager</a></li>
</ul>