power-compare/app/web/templates/base.html
dlawler489 c8a9dea993
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 19s
Cache-bust style.css so a deploy doesn't leave visitors on a stale copy
Browsers apply much more aggressive heuristic caching to a linked
stylesheet than to the dynamically-rendered HTML that references it, so a
CSS-only deploy could silently leave an already-open browser serving the
old styles until a hard refresh -- exactly what made today's dashboard
polish changes look broken while testing, until forcing a fresh fetch.
Appends a content-hash query param computed once at startup.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 15:54:31 +10:00

21 lines
600 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Power Compare</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4"></script>
<link rel="stylesheet" href="/static/css/style.css?v={{ static_version }}">
</head>
<body>
<nav class="topnav">
<div class="brand">Power Compare</div>
<a href="/">Dashboard</a>
<a href="/plans">Plan Comparison</a>
<a href="/settings">Settings</a>
</nav>
<main class="content">
{% block content %}{% endblock %}
</main>
</body>
</html>