Added OpenID registration and login.
[zzz-floof.git] / floof / templates / base.mako
diff --git a/floof/templates/base.mako b/floof/templates/base.mako
new file mode 100644 (file)
index 0000000..340cdf9
--- /dev/null
@@ -0,0 +1,15 @@
+<%def name="title()">Untitled</%def>\
+<!DOCTYPE html>
+<html>
+<head>
+<title>${title()} — Floof</title>
+</head>
+<body>
+% if c.user:
+<p>sup ${c.user.name}</p>
+% else:
+<p>not logged in</p>
+% endif
+${next.body()}
+</body>
+</html>