summaryrefslogtreecommitdiff
path: root/template.urs
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2013-03-16 16:25:45 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2013-03-16 16:25:45 -0400
commit5b8b76078ca1eb04ad787b1884b1c1e79b2273c8 (patch)
tree88f1e5a960781b16d93ecc63f351c721bf55503f /template.urs
parent963ab32b176228017635e4ef1bb60555c4022142 (diff)
Decouple a bunch of stuff into Config and Template
Diffstat (limited to 'template.urs')
-rw-r--r--template.urs21
1 files changed, 21 insertions, 0 deletions
diff --git a/template.urs b/template.urs
new file mode 100644
index 0000000..f94bd47
--- /dev/null
+++ b/template.urs
@@ -0,0 +1,21 @@
+(* Template -- site templates
+Copyright (C) 2013 Benjamin Barenblat <bbaren@mit.edu>
+
+This file is a part of 6.947.
+
+6.947 is is free software: you can redistribute it and/or modify it under the
+terms of the GNU Affero General Public License as published by the Free
+Software Foundation, either version 3 of the License, or (at your option) any
+later version.
+
+6.947 is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+details.
+
+You should have received a copy of the GNU Affero General Public License along
+with 6.947. If not, see <http://www.gnu.org/licenses/>. *)
+
+val generic : option string (* an optional page title *)
+ -> xbody (* the page content *)
+ -> page