summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/mini-toc.html6
-rw-r--r--layouts/partials/post-toc-summary.html17
2 files changed, 13 insertions, 10 deletions
diff --git a/layouts/partials/mini-toc.html b/layouts/partials/mini-toc.html
index 0d52866..20a8fb2 100644
--- a/layouts/partials/mini-toc.html
+++ b/layouts/partials/mini-toc.html
@@ -13,12 +13,12 @@
<div class="toc" role="navigation">
<h2>{{ i18n "latest_publications" }}</h2>
- <ul class="texts">
+ <table class="texts posts-table">
{{/* Range through the first $maxPosts items of the $section */}}
{{ range (first $maxPosts $section) }}
- <li class="text-title">
+ <tr class="text-title posts-tr">
{{ partial "post-toc-summary" . }}
- </li>
+ </tr>
{{ end }}
</ul>
</div>
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>