2024-03-28 10:21:04 +03:00
|
|
|
{{define "header"}}
|
|
|
|
<header>
|
|
|
|
<h1>🌺 Hibiscus.txt</h1>
|
2024-03-29 14:58:24 +03:00
|
|
|
<p>Today is <span id="today-date">a place</span></p>
|
2024-03-28 10:21:04 +03:00
|
|
|
</header>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "base"}}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<link rel="icon" type="image/x-icon" href="/public/favicon.ico">
|
|
|
|
<link rel="stylesheet" href="/public/main.css">
|
|
|
|
<script src="/public/date.js"></script>
|
2024-03-30 13:51:29 +03:00
|
|
|
<title>Hibiscus</title>
|
2024-03-28 10:21:04 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{template "header" .}}
|
|
|
|
<main>
|
|
|
|
{{template "main" .}}
|
|
|
|
</main>
|
|
|
|
{{template "footer" .}}
|
2024-03-29 14:58:24 +03:00
|
|
|
<script defer>updateDate();beginDateUpdater()</script>
|
2024-03-28 10:21:04 +03:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "footer"}}
|
|
|
|
<footer>
|
2024-03-30 14:22:03 +03:00
|
|
|
<p><a href="/">today</a> | <a href="/day">previous days</a> | <a href="/notes">notes</a></p>
|
2024-03-28 10:21:04 +03:00
|
|
|
</footer>
|
|
|
|
{{end}}
|