diff --git a/src/routes/blog.rs b/src/routes/blog.rs index 8a1a6c6..95a7d8c 100644 --- a/src/routes/blog.rs +++ b/src/routes/blog.rs @@ -24,7 +24,7 @@ struct BlogIndexTemplate { no_posts: bool, } -//#[once(time = 120)] +#[once(time = 120)] pub fn build_index(config: Config) -> String { let mut posts = get_posts("data/blog");