aboutsummaryrefslogtreecommitdiff
path: root/examples/hugo_timeline_partial.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hugo_timeline_partial.html')
-rw-r--r--examples/hugo_timeline_partial.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/hugo_timeline_partial.html b/examples/hugo_timeline_partial.html
new file mode 100644
index 0000000..251ccce
--- /dev/null
+++ b/examples/hugo_timeline_partial.html
@@ -0,0 +1,22 @@
+<style type="text/css">
+table.tidy, table.tidy * {
+ border: none;
+ padding-top:0;
+ padding-bottom:0.2em;
+ text-align: left;
+ vertical-align: top;
+}
+</style>
+
+<h1>Timeline</h1>
+<table class="tidy" align=left>
+ <tbody>
+ {{ $tl := site.Data.tl }}
+ {{ range $tl }}
+ <tr>
+ <td> @{{.account}}<a href={{.url}}>🔗</a><br> </td>
+ <td> [{{.created_at}}] {{ .content }}<br></td>
+ </tr>
+ {{ end }}
+ </tbody>
+</table>