broadcasts and 404 errors
Some checks failed
test / cargo test (push) Failing after 59s

This commit is contained in:
2024-10-02 15:32:40 +02:00
parent 4f09373df3
commit 2979e21285
23 changed files with 236 additions and 60 deletions

View File

@ -5,7 +5,7 @@ use tokio::try_join;
use crate::{
blog_posts::{
blog_post_model::BlogPostMetadata, featured_blog_posts::get_featured_blog_posts,
tag_list::get_popular_blog_tags,
tag_list::get_popular_tags,
},
components::site_header::HeaderProps,
filters,
@ -24,7 +24,7 @@ pub struct IndexTemplate {
pub async fn render_index() -> Result<IndexTemplate, StatusCode> {
let (blog_tags, featured_blog_posts, featured_projects) = try_join!(
get_popular_blog_tags(),
get_popular_tags(Some("blog".to_string())),
get_featured_blog_posts(),
get_featured_projects()
)?;