diff --git a/layouts/tweets/list.html b/layouts/tweets/list.html new file mode 100644 index 0000000..07ecbc5 --- /dev/null +++ b/layouts/tweets/list.html @@ -0,0 +1,14 @@ +{{ define "main" }} +
+ + + {{ $paginator := .Paginate .Pages.ByPublishDate.Reverse 100 }} + {{ range $paginator.Pages }} + {{ .Render "page_summary" }} + {{ end }} + + {{ partial "pagination.html" . }} +
+{{ end }} diff --git a/layouts/tweets/page_summary.html b/layouts/tweets/page_summary.html new file mode 100644 index 0000000..4cf8edf --- /dev/null +++ b/layouts/tweets/page_summary.html @@ -0,0 +1,18 @@ +
+ {{ .Content }} + + {{- if .Date -}} + {{/* TODO: Include time in this date */}} + {{- partial "page/date.html" (dict "page" . "style" "datetime") -}} + {{- end }} + +
+ {{ T "favorites" }} + {{ .Params.favoriteCount }} +
+ +
+ {{ T "retweets" }} + {{ .Params.retweetCount }} +
+
diff --git a/themes/photostream b/themes/photostream index 9940ab7..9b2d377 160000 --- a/themes/photostream +++ b/themes/photostream @@ -1 +1 @@ -Subproject commit 9940ab76ff42c0cdd9af201211d0300c6dfc9f27 +Subproject commit 9b2d377b022f8ebb3cb76c7ccde51b07ada4be55 diff --git a/themes/termlite b/themes/termlite index 55977d6..4c101a5 160000 --- a/themes/termlite +++ b/themes/termlite @@ -1 +1 @@ -Subproject commit 55977d6e6f285ad99d15f9f0061c65d7165fe6c0 +Subproject commit 4c101a552eb10ed87a5bec5bee741e65aa80daec