(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: sitemap.ml,v 1.10 2006/07/27 16:46:55 rich Exp $
+ * $Id: sitemap.ml,v 1.11 2006/12/06 09:46:57 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
open Cocanwiki_strings
let run r (q : cgi) dbh hostid { hostname = hostname } _ =
- let template = get_template dbh hostid "sitemap.html" in
+ let template = get_template r dbh hostid "sitemap.html" in
(* Pull out all the current pages, and a bit of content from each. *)
let rows = PGSQL(dbh)