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

View File

@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.original.Title}}</title>
<link rel="stylesheet" href="/static/style/video.css">
{{template "footer-css" .}}
</head>
<body>
@@ -38,14 +39,9 @@
</div>
{{end}}
<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>
<script src="/static/script/save-media-progress.js"></script>
{{template "footer" .}}
</body>
</html>