diff options
Diffstat (limited to 'srv/src/http/tpl/index.html')
-rw-r--r-- | srv/src/http/tpl/index.html | 16 |
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 }} - • <a href="{{ PostURL .ID }}">{{ .Title }}</a> - • {{ .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> |