feat(template): profile template works great :D

This commit is contained in:
Maieul BOYER 2026-02-08 14:32:18 +01:00
parent 436331bc72
commit 5340afbf94
Signed by: maix
SSH key fingerprint: SHA256:iqCzqFFF5KjRixmDExqbAltCIj9ndlBWIGJf3t9Ln9g
3 changed files with 63 additions and 29 deletions

View file

@ -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>,