post card fragment
This commit is contained in:
@@ -135,3 +135,9 @@ You're receiving this because you subscribed to the zero2prod newsletter."#,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "../templates/post_card_fragment.html")]
|
||||
pub struct PostCardTemplate<'a> {
|
||||
pub post: &'a PostEntry,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user