This commit is contained in:
parent
041066ac26
commit
bc08faf212
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ struct BlogIndexTemplate {
|
||||||
no_posts: bool,
|
no_posts: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[once(time = 120)]
|
#[once(time = 120)]
|
||||||
pub fn build_index(config: Config) -> String {
|
pub fn build_index(config: Config) -> String {
|
||||||
let mut posts = get_posts("data/blog");
|
let mut posts = get_posts("data/blog");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue