goblog/templates/overview.html

44 lines
987 B
HTML
Raw Normal View History

2018-11-04 19:58:34 +01:00
<html>
<style>
body {
background-color: #333;
color: #ccc;
font-family: "Hack", "Ubuntu Mono", "Lucida Console", monospace;
}
#content {
width: 70%;
margin: auto;
padding-top: 2em;
}
td.first {
width: 20%;
}
td.second {
padding-top: 0;
margin-top: 0;
top: 0;
width: 80%;
}
</style>
<body>
<div id="content">
<h2 style="text-align: center">Random Thought Dump</h2>
<table>
{{range $i, $p := $.Posts -}}
<tr>
<td>
[{{$p.FTime}}] &lt;{{$p.Author}}&gt;
</td>
<td>
{{$p.Content}}
</td>
</tr>
{{- end}}
<table>
2018-11-04 19:58:34 +01:00
</div>
</body>
</html>