metamuffin's personal website


About 1718606004362 milliseconds have passed since midnight of the january the first in 1970.
------------------------------------------------------
    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"
    ")"
}}

impl Status {
    fn ident(self) -> &'static str {
        match self {
            Status::Unknown => "unknown",
            Status::Planned => "planned",