metamuffin's personal website


About 1722086160315 milliseconds have passed since midnight of the january the first in 1970.
------------------------------------------------------
#[derive(Debug, Clone, Copy)]
pub enum Status {
    Unknown,
    Planned,
    Developing,
    Paused(State),
    Maintained,
    Abandoned(State),
}

markup::define! { Project(
    name: &'static str,
    status: Status,
    description: &'static str,
    link: Option<&'static str>,
    repo_link: Option<&'static str>
) {
    b { @name }
    @status.render()
    ": " @description
    " ("
    @if let Some(link) = link {
        a[href=link] "Project page"
        ", "
    }
    @let fallback = format!("https://codeberg.org/metamuffin/{name}");
    a[href=repo_link.unwrap_or(&fallback)] "Source code"
    ")"
}}