Added a footer, added the main title to the home page, minor improvements

This commit is contained in:
ChaoticByte 2024-08-29 13:10:23 +02:00
parent 1aa58ac243
commit b86b1688ea
No known key found for this signature in database
6 changed files with 40 additions and 4 deletions

View file

@ -19,6 +19,7 @@
</div>
{{- else -}}
<div class="home-main">
<h1>{{ .Title }}</h1>
<input type="text" id="search-box" placeholder="search">
<div id="search-results" class="hidden"></div>
<div class="toc" id="toc">
@ -29,5 +30,6 @@
</div>
<script src="/static/search.js"></script>
{{- end}}
<footer>{{ range .Footer }}<div>{{ . }}</div>{{ end }}</footer>
</body>
</html>