summaryrefslogtreecommitdiff
path: root/src/http/tpl/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/tpl/index.html')
-rw-r--r--src/http/tpl/index.html32
1 files changed, 11 insertions, 21 deletions
diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html
index 224c6d9..c1aa1f4 100644
--- a/src/http/tpl/index.html
+++ b/src/http/tpl/index.html
@@ -11,28 +11,18 @@
</p>
{{ end }}
- <table>
-
- <colgroup>
- <col span="1" style="width: 7rem;">
- <col span="1">
- <col span="1" style="width: 50%;">
- </colgroup>
-
- {{ range .Payload.Posts }}
- <tr>
- <td>{{ DateTimeFormat .PublishedAt }}</td>
- <td><a href="{{ PostURL .ID }}">{{ .Title }}</td>
- <td><em>{{ .Description }}</em></td>
- </tr>
- {{ end }}
- </table>
-
- {{ if ge .Payload.NextPage 0 }}
- <p>
- <a href="?p={{ .Payload.NextPage}}">Next Page &gt; &gt;</a>
- </p>
+ <ul>
+ {{ range .Payload.Posts }}
+ <li>
+ <a href="{{ PostURL .ID }}">
+ {{ DateTimeFormat .PublishedAt }} / {{ .Title }}
+ </a>
+ {{ if .Description }}
+ <br/><em>{{ .Description }}</em>
+ {{ end }}
+ </li>
{{ end }}
+ </ul>
{{ end }}