+ template#conditional "pages_empty" (table = []);
+
+ (* Is the page in the site menu? If so, then every other page
+ * links here, so we should say so.
+ *)
+ let sth = dbh#prepare_cached "select 1 from sitemenu
+ where hostid = ? and url = ?" in
+ sth#execute [`Int hostid; `String page];
+
+ let in_sitemenu = try sth#fetch1int () = 1 with Not_found -> false in
+ template#conditional "in_sitemenu" in_sitemenu;