Files
7am/web/summary.html

45 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2025-05-10 00:36:38 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
2025-05-11 00:08:20 +01:00
<title>7am weather for {{.LocationName}}</title>
<meta name="title" content="7am weather for {{.LocationName}}">
2025-05-11 00:36:55 +01:00
<meta name="description" content="Weather summary for {{.LocationName}}">
<meta property="og:type" content="website">
<meta property="og:url" content="https://7am.is/{{.Location}}">
2025-05-11 00:08:20 +01:00
<meta property="og:title" content="7am Weather">
<meta property="og:description" content="Weather summary for {{.LocationName}}">
2025-05-11 13:36:32 +01:00
<meta property="og:image" content="https://7am.is/hero.png">
2025-05-11 13:18:49 +01:00
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://7am.is/{{.Location}}">
2025-05-11 13:18:49 +01:00
<meta name="twitter:title" content="7am Weather">
<meta name="twitter:description" content="Weather summary for {{.LocationName}}">
2025-05-11 13:36:32 +01:00
<meta name="twitter:image" content="https://7am.is/hero.png">
2025-05-10 14:58:41 +01:00
2025-05-10 23:42:31 +01:00
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="manifest" href="/manifest.json">
2025-05-10 00:36:38 +01:00
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap" rel="stylesheet">
2025-05-10 23:42:31 +01:00
<link href="/style.css" rel="stylesheet">
2025-05-10 14:58:41 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2025-05-10 00:36:38 +01:00
</head>
<body>
2025-05-10 16:21:43 +01:00
<div class="container">
<main>
2025-05-10 17:35:51 +01:00
<a class="back-link" href="/">&lt;- All locations</a>
2025-05-10 16:21:43 +01:00
<p class="summary">{{.Summary}}</p>
2025-05-11 00:08:20 +01:00
<button type="button" id="get-summary-btn" data-loc="{{.Location}}">Get daily summary at 7am</button>
2025-05-11 13:11:46 +01:00
<a href="/instructions" class="instructions-link">Instructions for iPhone</a>
2025-05-10 16:21:43 +01:00
</main>
</div>
<script src="/summary.js"></script>
2025-05-10 00:36:38 +01:00
</body>
</html>