aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html44
1 files changed, 25 insertions, 19 deletions
diff --git a/templates/index.html b/templates/index.html
index 006643a..f6f3ca9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,22 +1,28 @@
<!DOCTYPE html>
<html data-theme="light" lang="en">
-<head>
- <% include!("head.html"); %>
-</head>
-<body>
-<% include!("header.html"); %>
-<main class="container">
- <section>
- A gathering of information about some things I do on my spare time.
- You can find me on gitlab, twitter and linkedin.
- </section>
- <section>
- <ul>
- <% for p in &posts { %>
- <li><a href="/posts/<%- p.file %>"><%- p.title %></a></li>
- <% } %>
- </ul>
- </section>
-</main>
-</body>
+ <head>
+ <% include!("head.html"); %>
+ </head>
+ <body>
+ <div class="layout">
+ <% include!("header.html"); %>
+ <main>
+ <div class="slim-description">
+ A gathering of information about some things I do on my
+ spare time. You can find me on gitlab, twitter and
+ linkedin.
+ </div>
+ <div class="blog-list">
+ <% for p in &posts { %>
+ <article class="list-item">
+ <div class="post-title">
+ <a href="/posts/<%- p.file %>"><%- p.title %></a>
+ </div>
+ <span classname="data-label"><%- p.datetime | disp %></span>
+ </article>
+ <% } %>
+ </div>
+ </main>
+ </div>
+ </body>
</html>