summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-10-25 18:19:48 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-10-25 19:07:22 +0800
commit8cd867cd53794386cb9443bfc023fe97c5c5fa47 (patch)
tree0f3f076e8b7f542b511d737eaaf3f3ec1cef457d /index.html
parent210a4c8671b368a3a240f9cb7a0bd1718a301523 (diff)
downloadwww-8cd867cd53794386cb9443bfc023fe97c5c5fa47.tar.gz
Render posts.
Diffstat (limited to 'index.html')
-rw-r--r--index.html28
1 files changed, 19 insertions, 9 deletions
diff --git a/index.html b/index.html
index 9a7b227..1d73f3e 100644
--- a/index.html
+++ b/index.html
@@ -3,15 +3,25 @@ layout: default
title: ASCIIMX
---
-<ul>
- {% assign docs = site.blog %}
- {% assign latest = docs | sort: 'date' | reverse %}
- {% for item in docs %}
- <li>
- <h5><a href="{{ item.url }}">{{ item.title }}</a></h2>
- {{ item.excerpt }}
- </li>
+<div class="articles">
+ <table class="posts-table">
+
+ {% assign posts = site.archive | sort: 'date' | reverse %}
+ {% for post in posts %}
+
+ <tr>
+ <td class="posts-td-link">
+ <a href="{{ post.url }}">{{ post.title }}</a>
+ </td>
+ <td class="posts-td-time">
+ <span class="post-meta">
+ <time datetime="{{ post.date }}">{{ post.date | date: "%Y-%m-%d" }}</time>
+ </span>
+ </td>
+ </tr>
+
{% endfor %}
-</ul>
+ </table>
</div>
+