Move footer to separate template

This commit is contained in:
Carl Pearson
2024-09-20 13:45:39 -06:00
parent 3684753e9b
commit 5254b0eab7
4 changed files with 15 additions and 12 deletions

11
templates/footer.html Normal file
View File

@@ -0,0 +1,11 @@
{{define "footer"}}
<div class="footer">
<div class="build-id">
Build ID: <a href="https://github.com/cwpearson/ytdlp-site/compare/{{.build_id}}..master">{{.build_id}}</a>
</div>
</div>
{{end}}
{{define "footer-css"}}
<link rel="stylesheet" href="/static/style/footer.css">
{{end}}