summaryrefslogtreecommitdiff
path: root/pages/calendar.mustache
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-08-03 00:16:11 +0200
committerTom Smeding <tom@tomsmeding.com>2026-08-03 00:16:11 +0200
commit6412601c368d88aa0e8611ecdeea474946cd6d37 (patch)
tree439e66ad8a18c4401c23f852dfe985a3b158c8e3 /pages/calendar.mustache
parent6e8c2b8df3898d0f50463f3151831f5d7c9306a2 (diff)
Factor out common parts of templates into partials
Diffstat (limited to 'pages/calendar.mustache')
-rw-r--r--pages/calendar.mustache17
1 files changed, 3 insertions, 14 deletions
diff --git a/pages/calendar.mustache b/pages/calendar.mustache
index c65849d..2ea5ca4 100644
--- a/pages/calendar.mustache
+++ b/pages/calendar.mustache
@@ -1,20 +1,12 @@
<!doctype html>
<html lang="en">
<head>
- <meta charset="utf-8">
+ {{> headmeta}}
<title>Calendar {{channel}} ({{network}}) - tirclogv</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="/style.css">
- <link rel="icon" type="image/png" href="/favicon.png">
</head>
<body>
<div id="gridwrapper" data-page="withheader">
- <header>
- <a href="/" class="hdritem hdritem-home">Home</a>
- {{network}}/{{channel}}:
- <a href="/log/{{&alias}}" class="hdritem hdritem-view">Logs</a>
- <a href="/cal/{{&alias}}" class="hdritem hdritem-view">Calendar</a>
- </header>
+ {{> header}}
<main>
<h1>Calendar: {{network}}/{{channel}}</h1>
{{#years}}
@@ -51,10 +43,7 @@
</tbody></table>
{{/years}}
</main>
- <footer>
- <a href="https://git.tomsmeding.com/tirclogv">tirclogv</a> &mdash; An IRC log viewer by
- <a href="https://tomsmeding.com">Tom Smeding</a>.
- </footer>
+ {{> footer}}
</div>
</body>
</html>