!7 concept Rule > HasGlobalID { S text; S page; // markDown } p { dbIndexing(Rule, 'globalID); } html { uri = dropSlashPrefix(uri); if (empty(uri)) ret htitle_h1("Rules") + ul_noEncode(map(list(Rule), r -> ahref(rawLink(r.globalIDStr(), htmlEncode2(or2(r.text, "unnamed")))))); if (possibleGlobalID(uri)) { Rule r = conceptWhere(Rule, globalID := GlobalID(uri)); if (r == null) ret subBot_serve404("Rule not found"); ret htitle_h1(r.text) + markDownToHTML(r.page); } ret subBot_serve404(); }