diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2013-03-16 16:25:45 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2013-03-16 16:25:45 -0400 |
commit | 5b8b76078ca1eb04ad787b1884b1c1e79b2273c8 (patch) | |
tree | 88f1e5a960781b16d93ecc63f351c721bf55503f /menu.urs | |
parent | 963ab32b176228017635e4ef1bb60555c4022142 (diff) |
Decouple a bunch of stuff into Config and Template
Diffstat (limited to 'menu.urs')
-rw-r--r-- | menu.urs | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |