about summary refs log tree commit diff stats
path: root/src/templates
diff options
context:
space:
mode:
authorAlan Pearce2017-07-01 11:49:18 +0200
committerAlan Pearce2017-07-01 11:49:18 +0200
commitfb7e421b9efea0a96adcf30d30cc2d318980d928 (patch)
tree37595b22cfab571d93dcae1d848c404b93e86a63 /src/templates
parent248c74916e22f397ff95944ac2596b9e40b302e5 (diff)
downloadhomestead-fb7e421b9efea0a96adcf30d30cc2d318980d928.tar.lz
homestead-fb7e421b9efea0a96adcf30d30cc2d318980d928.tar.zst
homestead-fb7e421b9efea0a96adcf30d30cc2d318980d928.zip
Switch templating to hyperfast
This also means that highland is not (currently) required
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/home.html12
-rw-r--r--src/templates/post.html20
2 files changed, 14 insertions, 18 deletions
diff --git a/src/templates/home.html b/src/templates/home.html
index dfc4677..97ac89a 100644
--- a/src/templates/home.html
+++ b/src/templates/home.html
@@ -1,7 +1,5 @@
-<main class="home">
-  <ul class="posts">
-    <li class="post">
-      <a href="/">Test post please ignore</a>
-    </li>
-  </ul>
-</main>
+<ul class="posts">
+  <li class="post">
+    <a href="/">Test post please ignore</a>
+  </li>
+</ul>
diff --git a/src/templates/post.html b/src/templates/post.html
index b6eba4e..384e6bb 100644
--- a/src/templates/post.html
+++ b/src/templates/post.html
@@ -1,11 +1,9 @@
-<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>
+<article>
+  <h1>post title</h1>
+  <div class="post-content">
+    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.
+  </div>
+</article>