diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-10-26 11:47:44 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-10-26 11:47:44 +0800 |
| commit | a136b8a578556c19400eff642f58998e78496b58 (patch) | |
| tree | 386f3c20a1c8b72559e59876fc002cbbbc189ea1 /_includes/archive.html | |
| parent | ac70fc789bd8015d34373739a34325e72b6eff0d (diff) | |
| download | www-a136b8a578556c19400eff642f58998e78496b58.tar.gz | |
Archive page.
Diffstat (limited to '_includes/archive.html')
| -rw-r--r-- | _includes/archive.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/archive.html b/_includes/archive.html new file mode 100644 index 0000000..897974e --- /dev/null +++ b/_includes/archive.html @@ -0,0 +1,21 @@ + <div class="articles"> + <table class="posts-table"> + + {% assign posts = site.archive | sort: 'date' | reverse %} + {% for post in posts limit: include.limit %} + + <tr> + <td class="posts-td posts-td-link"> + <a href="{{ post.url }}">{{ post.title }}</a> + </td> + <td class="posts-td posts-td-time"> + <span class="post-meta"> + <time datetime="{{ post.date }}">{{ post.date | date: "%Y-%m-%d" }}</time> + </span> + </td> + </tr> + + {% endfor %} + + </table> + </div> |
