about summary refs log tree commit diff stats
path: root/src/templates
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 23:06:43 +0200
committerAlan Pearce2017-06-23 23:06:43 +0200
commitf9fd0d795fb7bff10cb759f2300200d50b0fbab3 (patch)
tree8e3e68bce0742ea4e5d6538a8e437ec2512f9518 /src/templates
parent4d6378483d46806d0006d6e5755e0eedd6372154 (diff)
downloadhomestead-f9fd0d795fb7bff10cb759f2300200d50b0fbab3.tar.lz
homestead-f9fd0d795fb7bff10cb759f2300200d50b0fbab3.tar.zst
homestead-f9fd0d795fb7bff10cb759f2300200d50b0fbab3.zip
feat: Streaming DOM templates via rheo
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/index.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/templates/index.html b/src/templates/index.html
new file mode 100644
index 0000000..412b4ec
--- /dev/null
+++ b/src/templates/index.html
@@ -0,0 +1,36 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8"/>
+    <title></title>
+  </head>
+  <body>
+    <main class="homepage">
+      <h1>hello world</h1>
+
+      <ul class="posts">
+        <li class="post">
+          <a href="/">Test post please ignore</a>
+        </li>
+      </ul>
+    </main>
+    <main class="post">
+      <article>
+        <h1>post title</h1>
+        <main>
+          Fringilla ut morbi tincidunt augue interdum velit euismod!
+          Interdum velit laoreet id donec ultrices tincidunt arcu, non
+          sodales neque sodales ut etiam sit amet nisl purus, in
+          mollis nunc sed. 
+        </main>
+      </article>
+    </main>
+    <main class="taxon">
+      <ul class="posts">
+        <li class="post">
+          <a href="/">Test post please ignore</a>
+        </li>
+      </ul>
+    </main>
+  </body>
+</html>