summaryrefslogtreecommitdiff
path: root/menu.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 /menu.urs
parent963ab32b176228017635e4ef1bb60555c4022142 (diff)
Decouple a bunch of stuff into Config and Template
Diffstat (limited to 'menu.urs')
-rw-r--r--menu.urs8
1 files changed, 3 insertions, 5 deletions
diff --git a/menu.urs b/menu.urs
index 0372aab..59f02f1 100644
--- a/menu.urs
+++ b/menu.urs
@@ -16,8 +16,6 @@ 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/>. *)
-(* The menu scheme in this app is based on a variant 'pageName', which
-describes the name of the page. There's one value for each page. *)
-con pageName = variant (mapU unit [Main, Forum])
-
-val header : pageName -> xbody
+(* Given the name of the page we're currently on, produces a header and menu
+for the site. *)
+val header : Config.pageName -> xbody