summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-05-08 22:39:57 +0200
committerTom Smeding <tom@tomsmeding.com>2026-05-08 22:39:57 +0200
commit4dc5780474753b804cfc7f095c2bc47b8229f5e2 (patch)
tree1ee1e781fb757c33cbc4abc9197d4bffbc54ab5e
parentf3e87d7f1a43489f79dcd1eae1cc8b6a9c852253 (diff)
Favicon
-rw-r--r--favicon.svg62
-rw-r--r--pages/calendar-day.mustache1
-rw-r--r--pages/calendar.mustache1
-rw-r--r--pages/favicon.pngbin0 -> 3752 bytes
-rw-r--r--pages/index.mustache1
-rw-r--r--pages/log.mustache1
-rw-r--r--src/Main.hs2
7 files changed, 67 insertions, 1 deletions
diff --git a/favicon.svg b/favicon.svg
new file mode 100644
index 0000000..218a3db
--- /dev/null
+++ b/favicon.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ width="170"
+ height="170"
+ viewBox="0 0 44.979166 44.979166"
+ version="1.1"
+ id="svg1"
+ inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
+ sodipodi:docname="favicon.svg"
+ inkscape:export-filename="pages/favicon.png"
+ inkscape:export-xdpi="96"
+ inkscape:export-ydpi="96"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <sodipodi:namedview
+ id="namedview1"
+ pagecolor="#505050"
+ bordercolor="#eeeeee"
+ borderopacity="1"
+ inkscape:showpageshadow="0"
+ inkscape:pageopacity="0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ inkscape:document-units="mm"
+ inkscape:zoom="4"
+ inkscape:cx="94.875"
+ inkscape:cy="76"
+ inkscape:window-width="1714"
+ inkscape:window-height="1381"
+ inkscape:window-x="2560"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="layer1" />
+ <defs
+ id="defs1" />
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ style="font-style:italic;font-weight:bold;font-size:60.8121px;line-height:1.25;font-family:mononoki;-inkscape-font-specification:'mononoki, Bold Italic';fill:#aabbff;stroke-width:0.31673"
+ d="m 35.484666,26.646659 c 0.593868,0 1.049167,0.197956 1.365897,0.593868 0.31673,0.395912 0.435504,0.890802 0.356321,1.48467 l -0.237547,1.603444 c -0.07918,0.593869 -0.356321,1.088759 -0.831416,1.484671 -0.475094,0.395912 -1.009576,0.593868 -1.603444,0.593868 h -4.383995 l -1.48467,9.383117 c -0.07918,0.593868 -0.356321,1.088758 -0.831415,1.48467 -0.435503,0.395912 -0.950189,0.593868 -1.544058,0.593868 h -2.078538 c -0.633459,0 -1.108554,-0.197956 -1.425284,-0.593868 -0.316729,-0.395912 -0.435503,-0.890802 -0.356321,-1.48467 l 1.484671,-9.383117 h -5.938682 l -1.48467,9.383117 c -0.07918,0.593868 -0.356321,1.088758 -0.831416,1.48467 -0.435503,0.395912 -0.950189,0.593868 -1.544057,0.593868 h -2.078538 c -0.593869,0 -1.068963,-0.197956 -1.425284,-0.593868 -0.316729,-0.395912 -0.435503,-0.890802 -0.356321,-1.48467 L 11.74057,32.40718 H 7.2971877 c -0.5938682,0 -1.0491671,-0.197956 -1.3658967,-0.593868 C 5.6145613,31.4174 5.4957877,30.92251 5.5749701,30.328641 l 0.2375473,-1.544057 c 0.079182,-0.633459 0.3563208,-1.148145 0.8314154,-1.544057 0.4750945,-0.395912 1.0095758,-0.593868 1.603444,-0.593868 h 4.4433822 l 1.247123,-7.957833 H 9.4944997 c -0.593868,0 -1.0689625,-0.197956 -1.4252833,-0.593869 C 7.7524866,17.699045 7.6535086,17.204155 7.7722823,16.610287 L 8.0098295,15.06623 c 0.079182,-0.633459 0.3365253,-1.148145 0.7720286,-1.544057 0.4750944,-0.395913 1.0095756,-0.593869 1.6034439,-0.593869 h 4.443382 L 16.372741,3.1888666 C 16.451924,2.5949984 16.729062,2.1001083 17.204157,1.7041962 17.679251,1.3082841 18.213732,1.110328 18.807601,1.110328 h 2.078538 c 0.593868,0 1.049167,0.1979561 1.365897,0.5938682 0.356321,0.3563209 0.475094,0.851211 0.356321,1.4846704 L 21.0643,12.928304 h 5.938681 L 28.547038,3.1888666 C 28.626221,2.5949984 28.883564,2.1001083 29.319067,1.7041962 29.794162,1.3082841 30.348439,1.110328 30.981898,1.110328 h 2.078538 c 0.593869,0 1.049168,0.1979561 1.365897,0.5938682 0.356321,0.3563209 0.475095,0.851211 0.356321,1.4846704 l -1.544057,9.7394374 h 4.383995 c 0.593868,0 1.049167,0.197956 1.365896,0.593869 0.356322,0.395912 0.494891,0.890802 0.415708,1.48467 l -0.237547,1.603444 c -0.118774,0.593868 -0.415708,1.088758 -0.890802,1.48467 -0.435503,0.395913 -0.950189,0.593869 -1.544058,0.593869 h -4.383994 l -1.247123,7.957833 z m -10.61961,0 1.247123,-7.957833 h -5.938682 l -1.247123,7.957833 z"
+ id="text1"
+ aria-label="#"
+ sodipodi:nodetypes="ssccsscccssscccccsscccssccssccsccccsccsssccccccsscccsccccsccsccccc" />
+ <text
+ xml:space="preserve"
+ style="font-style:italic;font-size:50.8px;line-height:1.25;font-family:mononoki;-inkscape-font-specification:'mononoki, Italic';stroke-width:0.264583"
+ x="30.294792"
+ y="28.111979"
+ id="text2"><tspan
+ sodipodi:role="line"
+ id="tspan2"
+ style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:25.4px;font-family:mononoki;-inkscape-font-specification:'mononoki, Italic';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:0.264583"
+ x="30.294792"
+ y="28.111979" /></text>
+ </g>
+</svg>
diff --git a/pages/calendar-day.mustache b/pages/calendar-day.mustache
index a01113a..f72f42a 100644
--- a/pages/calendar-day.mustache
+++ b/pages/calendar-day.mustache
@@ -5,6 +5,7 @@
<title>{{channel}} {{date}} ({{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">
diff --git a/pages/calendar.mustache b/pages/calendar.mustache
index 48f9db0..b8a8b53 100644
--- a/pages/calendar.mustache
+++ b/pages/calendar.mustache
@@ -5,6 +5,7 @@
<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">
diff --git a/pages/favicon.png b/pages/favicon.png
new file mode 100644
index 0000000..edff219
--- /dev/null
+++ b/pages/favicon.png
Binary files differ
diff --git a/pages/index.mustache b/pages/index.mustache
index 83cd0cb..8811d7f 100644
--- a/pages/index.mustache
+++ b/pages/index.mustache
@@ -5,6 +5,7 @@
<title>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="index">
diff --git a/pages/log.mustache b/pages/log.mustache
index 20b2fa2..fc01310 100644
--- a/pages/log.mustache
+++ b/pages/log.mustache
@@ -5,6 +5,7 @@
<title>{{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">
diff --git a/src/Main.hs b/src/Main.hs
index 7506fe4..c49b02d 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -248,7 +248,7 @@ mainServe confpath = do
index <- initIndex (confLogsDir config) (econfChannels config)
let templateFiles = ["index", "log", "calendar", "calendar-day"]
- staticFiles = ["style.css", "robots.txt"]
+ staticFiles = ["style.css", "robots.txt", "favicon.png"]
pages <- fmap (Pages . Map.fromList) . forM templateFiles $ \name -> do
src <- T.readFile ("pages/" ++ name ++ ".mustache")