Making the header/title are a variable

Refactor Dockerfile and entrypoint script; add index.html.template and update example.env
This commit is contained in:
2025-04-04 14:46:29 -06:00
parent 9f462c4c0a
commit e25cdca466
4 changed files with 23 additions and 7 deletions

View File

@@ -4,7 +4,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Montana Dinosaur Center Visitor Log</title>
<title>${SITE_TITLE}</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" />
<style>
@@ -40,8 +41,8 @@
<body>
<div class="container mt-5 mb-5">
<header class="d-flex align-items-center mb-4">
<img src="static/images/logo.png" alt="Museum Logo" class="me-3" style="height: 50px;" />
<h1 class="h3 mb-0">The Montana Dinosaur Center Visitor Log</h1>
<img src="static/images/logo.png" alt="Logo" class="me-3" style="height: 50px;" />
<h1 class="h3 mb-0">${SITE_TITLE}</h1>
</header>
<!-- Brief instructions for the form -->