From 4dc5780474753b804cfc7f095c2bc47b8229f5e2 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 8 May 2026 21:39:57 +0100 Subject: Favicon --- favicon.svg | 62 ++++++++++++++++++++++++++++++++++++++++++++ pages/calendar-day.mustache | 1 + pages/calendar.mustache | 1 + pages/favicon.png | Bin 0 -> 3752 bytes pages/index.mustache | 1 + pages/log.mustache | 1 + src/Main.hs | 2 +- 7 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 favicon.svg create mode 100644 pages/favicon.png diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..218a3db --- /dev/null +++ b/favicon.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + 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 @@ {{channel}} {{date}} ({{network}}) - tirclogv +
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 @@ Calendar {{channel}} ({{network}}) - tirclogv +
diff --git a/pages/favicon.png b/pages/favicon.png new file mode 100644 index 0000000..edff219 Binary files /dev/null and b/pages/favicon.png 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 @@ tirclogv +
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 @@ {{channel}} ({{network}}) - tirclogv +
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") -- cgit v1.3.1