From 64fc0a89556ae9771fb1809b605429deca1cf64e Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 26 Nov 2022 18:21:18 +0100 Subject: [PATCH] Add favicon to jsonfeed --- Controllers/JsonFeed.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Controllers/JsonFeed.cs b/Controllers/JsonFeed.cs index 3c02aec..a8adfd5 100644 --- a/Controllers/JsonFeed.cs +++ b/Controllers/JsonFeed.cs @@ -28,8 +28,7 @@ public class JsonFeed : Controller { [J("description")] public string Description => "Blog of a disabled neurodivergent queer person unhappy with the state of the world"; [J("home_page_url")] public string HomeUrl => "https://zotan.pw/blog"; [J("feed_url")] public string FeedUrl => "https://zotan.pw/blog/feed.json"; - - // TODO: favicon/icon + [J("favicon")] public string Favicon => "https://zotan.pw/favicon.ico"; [J("items")] public List Items { get; init; } = new(); }