feat(template): profile template works great :D
This commit is contained in:
parent
436331bc72
commit
5340afbf94
3 changed files with 63 additions and 29 deletions
|
|
@ -21,13 +21,11 @@ pub fn render(env: &minijinja::Environment, data: ProfileData) -> Result<String,
|
|||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct ProfileUser {
|
||||
pub position: Option<SmolStr>,
|
||||
pub last_active: SmolStr,
|
||||
pub last_active: Option<SmolStr>,
|
||||
pub image: String,
|
||||
pub name: SmolStr,
|
||||
pub pool: Option<SmolStr>,
|
||||
pub id: u64,
|
||||
pub is_friend: bool,
|
||||
pub is_self: bool,
|
||||
|
||||
pub github: Option<String>,
|
||||
pub website: Option<String>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue