Ver código fonte

added untested/incomplete template sample file

Casey DeLorme 10 anos atrás
pai
commit
8ce9e130fe
1 arquivos alterados com 29 adições e 0 exclusões
  1. 29 0
      template.tmpl

+ 29 - 0
template.tmpl

@@ -0,0 +1,29 @@
+<!doctype html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <title>{{name}} | sitename </title>
+        <link rel="stylesheet" type="text/css" href="/css/main.css#{{version}}">
+    </head>
+    <body>
+
+        <header>
+            <h2>Site Title or Logo</h2>
+            <nav>
+                <ul>{{range navigation}}
+                    <li><a href='{{link}}'>{{name}}</a></li>
+                {{end}}</ul>
+            </nav>
+        </header>
+
+        <div class="content">{{content}}</div>
+
+        <div class="footer">
+            <p>Worthless copyrights, or maybe useful contact information.</p>
+            <div class="scripts">
+                <script type="text/javascript" src="/js/main.js#{{version}}"></script>
+            </div>
+        </div>
+
+    </body>
+</html>