diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-12-08 17:34:35 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-12-08 21:05:19 +0800 |
| commit | 752a06ec0ebf20d6232b13f1ea53fe21fefcefbd (patch) | |
| tree | 690411afad8eb76216417a42de94135214cb2401 /_includes/latest.html | |
| parent | 20b0a045a7dc78f9728837fe5a1be8cf12caae4e (diff) | |
| download | www-752a06ec0ebf20d6232b13f1ea53fe21fefcefbd.tar.gz | |
Fix list indentation.
Diffstat (limited to '_includes/latest.html')
| -rw-r--r-- | _includes/latest.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/latest.html b/_includes/latest.html new file mode 100644 index 0000000..6b6e114 --- /dev/null +++ b/_includes/latest.html @@ -0,0 +1,21 @@ + <div class="articles"> + <table class="posts-table"> + + {% assign posts = site.blog | sort: 'date' | reverse %} + {% for post in posts limit: include.limit %} + + <tr> + <td class="posts-td posts-td-link"> + <a href="{{ post.url }}" class="link-decor-none">{{ 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> |
