Load more button on Posts page
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
use crate::templates::PostCardTemplate;
|
||||
use askama::Template;
|
||||
use chrono::{DateTime, Utc};
|
||||
use uuid::Uuid;
|
||||
|
||||
@@ -27,8 +25,4 @@ impl PostEntry {
|
||||
Err(e) => anyhow::bail!(e),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn render(&self) -> String {
|
||||
PostCardTemplate { post: self }.render().unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user