From 3c7a71e8c05f7276d7065154cccfa4ec593ecdce Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Wed, 20 Nov 2024 11:52:08 +0530 Subject: [PATCH] chore: favicon --- content/assets/favicon.ico | Bin 0 -> 15406 bytes src/main.rs | 5 +++++ src/templates/layout.html | 1 + 3 files changed, 6 insertions(+) create mode 100644 content/assets/favicon.ico diff --git a/content/assets/favicon.ico b/content/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..4c1cf569be7c7c6ae69d39602643e3287a475ff9 GIT binary patch literal 15406 zcmeHO2UuLmkw%;B^ZCx}yYtz;Td&q@dA-M40S(NMa}+t}$uls(1Q5z$m39?SKshHs z0R@ym0tL_tNk{^LPy(T}%F=3;R|#HsU)7tyfIwk`ecyea@9VGMym|e)y1Tln`u}Te zYTRZ9d5`JWJYf0-cbRs~4XPU0$OT1AIMBPd&&QqK(ZkbMGewni zjFV>VCrR=WE;)A#O&(TCQpT22@yseJ9$7`w2RG5o;a}6B@Nw0B`t-5LVQ(MkkfbVo zEYlsNsp8EHb2Q=J|Qw97h1C9>@#QL=$Zv#L2Krx=-81`nU~{LJB(Xx7N9 zRPtptk*}(yvQ>3Nwz8H;7t|1OUKJ4!-ATlXZ6rB$1CePD69149CD6VHl($17C+*XX zzR5I$kJ8x%yU3t*l_a~RjSf7|7?$iaZ7i*{kt)U=B$}b;C_Wn+JG~Ct!peEP6BakK zPB;1%8#`$Sw`|!enm>Cnmv!hm9e4rSL(!Hsu%fjkbX!>^P0Ou^_P1DQ%(Mm@8^OCM z1I))}?Wh}6JM`HMeQbS;BJ8QNCn1wK2`2da53Hn5JrWQAy@r>glWd9NP1rUcGw# zEFgHq_KaZ{sQ&YBn0_3TW%rn2=M$EFw3X@S-evkPZ!?rTB4O?&zX7@Rj*gK^b9<}> z0^bh@M0{}!*MWZrzGoun(Cj8U_v$75SL^n8-KUSwConI~TGT)2 z%iIoY{2nhWzSFOt@1Hxjv;Hn{3>LfyvAM0xaH!SILt?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x^c>>iW_Vv#zkdB*I2Zl^IbYWFZK2TbkH9a? zgM97lq0uv*x_XK)Lyo{P_`k`*7|Az?(8F|Oa zHF^nPHvQiqCU{-Z-sCx4bIZCLaWLOtH_z0nu((;@;r=woei+}#bcZ0rNKP~qkwJsBri^V}RaAufWs+OFiC~s2*-a|l_;QvRj&*8p#PycA~j~RIL8Ten~vw7kG literal 0 HcmV?d00001 diff --git a/src/main.rs b/src/main.rs index c5b3149..23458be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,6 +60,7 @@ async fn main() { .route("/:year/:month/:day/:slug", get(redirect_old_routes)) .route("/feed.xml", get(atom_feed).layer(CacheLayer::with_lifespan(RESPONSE_CACHE_TTL))) .route("/pageview", post(store_pageview)) + .route("/favicon.ico", get(favicon)) .fallback(not_found) .with_state(app_state.clone()); @@ -159,6 +160,10 @@ async fn about() -> Redirect { Redirect::temporary("/") } +async fn favicon() -> Redirect { + Redirect::permanent("/assets/favicon.ico") +} + #[derive(Debug, Serialize)] struct Post { slug: String, diff --git a/src/templates/layout.html b/src/templates/layout.html index e9affac..ad24e8b 100644 --- a/src/templates/layout.html +++ b/src/templates/layout.html @@ -3,6 +3,7 @@ + {% block title %}Ankush Menat{% endblock %} {% block meta %}{% endblock %}