summaryrefslogtreecommitdiffstats
path: root/layouts/partials/post-element.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post-element.html')
-rw-r--r--layouts/partials/post-element.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/post-element.html b/layouts/partials/post-element.html
index b45a1e1..28fff85 100644
--- a/layouts/partials/post-element.html
+++ b/layouts/partials/post-element.html
@@ -1,4 +1,4 @@
-<li>
- <span class="date">{{ .Date.Format "2006/01/02" }}</span>
- <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
-</li>
+<tr>
+ <td>{{ .Title | markdownify }}{{ if .Params.zettelid }}<a class="zettel-link" href="{{ .RelPermalink }}"> [#{{ .Params.zettelid }}]</a>{{ end }}</td>
+ <td class="date-td">{{ with .Date }}<span class="date">{{ .Format "2006/01/02" }}</span>{{ end }}</td>
+</tr>