summaryrefslogtreecommitdiff
path: root/pages/log.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/log.mustache
parent6e8c2b8df3898d0f50463f3151831f5d7c9306a2 (diff)
Factor out common parts of templates into partials
Diffstat (limited to 'pages/log.mustache')
-rw-r--r--pages/log.mustache17
1 files changed, 3 insertions, 14 deletions
diff --git a/pages/log.mustache b/pages/log.mustache
index 10a99cf..8e3d800 100644
--- a/pages/log.mustache
+++ b/pages/log.mustache
@@ -1,21 +1,13 @@
<!doctype html>
<html lang="en">
<head>
- <meta charset="utf-8">
+ {{> headmeta}}
<title>{{channel}} ({{network}}) - tirclogv</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="/style.css">
<script src="/log.js"></script>
- <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>Logs: {{network}}/{{channel}}</h1>
<div class="pagepicker">
@@ -92,10 +84,7 @@
</div>
<p>All times are in UTC.</p>
</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>