summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/index.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-08-16 22:24:39 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-08-16 22:26:31 -0600
commitbb6c715a0ec9470c2cd5fdf5f86a2bf0b2c41f39 (patch)
tree000995bbac01f4f350dd410668e196bde6db0ea0 /srv/src/http/tpl/index.html
parentc06dd5c5873f7d2c96946dd2414687e8b0eb71f3 (diff)
more polish, use table on index page
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>