~kris/9p

krisyotam.net

ref: a21515ab7032f3d982b4cc0864177532e480a02c krisyotam.net/apps/hello/app.rc -rwxr-xr-x 165 bytes
a21515ab — Kris Yotam expand resources, add grid section, update footer 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
fn hello_init {
    if(~ $req_path /hello) {
        handler_body_main='hello_body'
        pageTitle='Hi title!'
    }
}

fn hello_body {
    echo 'Hello world!'
}