summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/http/tpl/index.html')
-rw-r--r--srv/src/http/tpl/index.html16
1 files changed, 7 insertions, 9 deletions
diff --git a/srv/src/http/tpl/index.html b/srv/src/http/tpl/index.html
index 22f0e1c..1a5eaf8 100644
--- a/srv/src/http/tpl/index.html
+++ b/srv/src/http/tpl/index.html
@@ -10,17 +10,15 @@
</p>
{{ end }}
- <ul>
-
+ <table>
{{ range .Payload.Posts }}
- <li>
- {{ DateTimeFormat .PublishedAt }}
- &nbsp;•&nbsp; <a href="{{ PostURL .ID }}">{{ .Title }}</a>
- &nbsp;•&nbsp; {{ .Description }}
- </li>
+ <tr>
+ <td>{{ DateTimeFormat .PublishedAt }}</td>
+ <td><a href="{{ PostURL .ID }}">{{ .Title }}</td>
+ <td><em>{{ .Description }}</em></td>
+ </tr>
{{ end }}
-
- </ul>
+ </table>
{{ if ge .Payload.NextPage 0 }}
<p>