diff options
author | Vika <vika@fireburn.ru> | 2025-03-13 11:06:23 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-03-13 11:06:23 +0300 |
commit | 4ca3c83d447fbf86a4f21d841a107cb28a64658e (patch) | |
tree | e196c4a83d602bdfeb84f5f5bb1973009e17cf22 /src/frontend/onboarding.rs | |
parent | ab6614c720064a5630100c1ba600942dcab2632f (diff) | |
download | kittybox-4ca3c83d447fbf86a4f21d841a107cb28a64658e.tar.zst |
WIP: RSS feed generator feature/rss
Some people are old-fashioned, and RSS feeds can be consumed even by laypeople unfamiliar with microformats2. This does violate DRY at first glance, but since the feeds are dynamically generated it's not repetition but rather format conversion, and as such does not violate DRY per se.
Diffstat (limited to 'src/frontend/onboarding.rs')
-rw-r--r-- | src/frontend/onboarding.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/onboarding.rs b/src/frontend/onboarding.rs index 4588157..3537933 100644 --- a/src/frontend/onboarding.rs +++ b/src/frontend/onboarding.rs @@ -23,6 +23,7 @@ pub async fn get() -> Html<String> { feeds: vec![], user: None, content: OnboardingPage {}.to_string(), + rss_link: None, } .to_string(), ) @@ -153,6 +154,7 @@ pub async fn post<D: Storage + 'static>( msg: Some(err.msg().to_string()), } .to_string(), + rss_link: None, } .to_string(), ), |