summaryrefslogtreecommitdiffstats
path: root/layouts/partials/post-toc-summary.html
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-04-24 21:37:32 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-04-24 23:20:46 +0800
commit1bb5594ba1fcbb32c98351b6986216c89fa9cfe7 (patch)
treea1632fe7b6da9d1659fbb17de07d854ea4549340 /layouts/partials/post-toc-summary.html
parentd11e095ab8c61be8953e05e24b7b638e6927e2d5 (diff)
downloadgohugo-theme-ed-1bb5594ba1fcbb32c98351b6986216c89fa9cfe7.tar.gz
Latest posts to table.
Diffstat (limited to 'layouts/partials/post-toc-summary.html')
-rw-r--r--layouts/partials/post-toc-summary.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/layouts/partials/post-toc-summary.html b/layouts/partials/post-toc-summary.html
index 371a6f1..a96cb29 100644
--- a/layouts/partials/post-toc-summary.html
+++ b/layouts/partials/post-toc-summary.html
@@ -1,7 +1,10 @@
-<span class="post-meta">
- <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
- {{- .Date | time.Format (site.Params.dateFormatToc | default "2006.01.02") }}
- </time>
-</span>
-
-<a href="{{ .Permalink }}">{{ .Title }} </a>
+<td class="posts-td-time">
+ <span class="post-meta">
+ <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
+ {{- .Date | time.Format (site.Params.dateFormatToc | default "2006.01.02") }}
+ </time>
+ </span>
+</td>
+<td class="posts-td-link">
+ <a href="{{ .Permalink }}">{{ .Title }} </a>
+</td>