fix: Make index page list elements navigable
This commit is contained in:
parent
64b663bba9
commit
4eb541728f
2
.comma
2
.comma
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue