Permalink
Browse files

Added new demo: simplenav.

  • Loading branch information...
1 parent b929c49 commit 6bdea82fdf02f5ebb7835ccebbf156a420b1074d @mermshaus committed Feb 14, 2012
@@ -0,0 +1,25 @@
+<?php
+
+namespace org\ermshaus\phpsog;
+
+?><!DOCTYPE html>
+
+<html lang="en">
+
+ <head>
+ <meta charset="UTF-8" />
+ <title><?=e($title)?></title>
+ </head>
+
+ <body>
+
+ <ul>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="contact.html">Contact</a></li>
+ </ul>
+
+ <?=$content?>
+
+ </body>
+
+</html>
@@ -0,0 +1,9 @@
+<?php
+
+$title = 'Contact';
+
+?>
+
+<h1>Contact</h1>
+
+<p>There is no way to contact me, yet. Sorry.</p>
@@ -0,0 +1,9 @@
+<?php
+
+$title = 'Home';
+
+?>
+
+<h1>Welcome!</h1>
+
+<p>This is the index page of my website.</p>
@@ -0,0 +1,2 @@
+meta.title.suffix = " – My Website"
+export.dir = "../../export/simplenav"

0 comments on commit 6bdea82

Please sign in to comment.