!7
html {
new Matches m;
if (swic(uri, "/artist/", m)) ret "Artist page for " + htmlencode(urldecode(m.rest()));
if (swic(uri, "/song/", m))
ret "Song page for " + htmlencode(urldecode(m.rest()))
+ soundcloudEmbed("194090074", eq("1", params.get("autoplay")));
if (eqic(uri, "/contact")) ret "Contact page";
// home page
if (eq(uri, "/"))
ret h1_title("Future Roots Records")
+ h3("Artists")
+ ul_noEncode(map(func(S artist) -> S {
ahref(myLink("/artist/" + urlencode(artist)), htmlencode(artist))
}, mechList("Randall | Artist names")));
ret subBot_serve404();
}