Move footer to separate template
This commit is contained in:
11
templates/footer.html
Normal file
11
templates/footer.html
Normal 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}}
|
Reference in New Issue
Block a user