Permalink
Browse files

Template cleanup and reorganization

  • Loading branch information...
1 parent 1aa4a8f commit 6c0702723f34e95e0c5a7c031d3459044739e94c @Palmik committed Apr 15, 2011
Showing with 21 additions and 0 deletions.
  1. +15 −0 resources/templates/default.tpl
  2. +6 −0 resources/templates/navigation.tpl
View
15 resources/templates/default.tpl
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="author" content="Jon Doe" />
+ <meta name="keywords" content="Haskell, Snap, Heist">
+
+ <title>Snap Pastie :: <main-title/></title>
+ </head>
+ <body>
+ <apply template="navigation"/>
+ <main-body/>
+ </body>
+</html>
View
6 resources/templates/navigation.tpl
@@ -0,0 +1,6 @@
+<nav>
+ <ul id="main-menu">
+ <li><a href="/">Home</a></li>
+ <li><a href="/pastes">Recent Pastes</a></li>
+ </ul>
+</nav>

0 comments on commit 6c07027

Please sign in to comment.