Permalink
Browse files

Switched to the EJS template engine.

  • Loading branch information...
1 parent 614b10a commit abf0de0eb199b9ab4a50def9a3ae174b72757c28 @akoenig committed May 26, 2012
Showing with 33 additions and 0 deletions.
  1. +33 −0 example/views/index.ejs
View
@@ -0,0 +1,33 @@
+<!doctype html>
+<html>
+ <head>
+ <title><%= lingua.title %></title>
+
+ <link rel="stylesheet" type="text/css" href="stylesheets/screen.css" />
+ </head>
+ <body>
+ <div id="wrapper">
+ <nav>
+ <ul>
+ <li><a href="?language=de-de"><%= lingua.navigation.german %></a></li>
+ <li><a href="?language=en"><%= lingua.navigation.english %></a></li>
+ </ul>
+ </nav>
+
+ <article>
+ <header>
+ <hgroup>
+ <h1><%= lingua.index.headline %></h1>
+ <h2><%= lingua.index.subheadline %></h2>
+ </hgroup>
+ </header>
+
+ <p><%= linguac(lingua.index.person, person) %></p>
+ </article>
+ </div>
+
+ <footer>
+ <small>&copy; 2012, <a href="https://plus.google.com/105066655811382416959/about">André König</a> - <a href="http://www.opensource.org/licenses/mit-license.php"><%= lingua.index.licence %></a></small>
+ </footer>
+ </body>
+</html>

0 comments on commit abf0de0

Please sign in to comment.