projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
+++ b/
floof/templates/base.mako
@@ -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>