From ee9dc5c9ea17de39b6390b192fa3e095fb7e101a Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 28 Aug 2025 08:17:00 -0600 Subject: [PATCH 1/3] Update termlite submodule commit --- themes/termlite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/termlite b/themes/termlite index df3d9cf..d158b0d 160000 --- a/themes/termlite +++ b/themes/termlite @@ -1 +1 @@ -Subproject commit df3d9cf039058fff9a9f9bf86daf383562e99964 +Subproject commit d158b0db8ebaaad35c5ed7fea31db7bee930eb03 From 33da0737839b31cfbe334aa43e0b1899a5460da4 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 28 Aug 2025 11:08:37 -0600 Subject: [PATCH 2/3] Update photostream submodule --- themes/photostream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f3da1087e3c197651e7d993f252383d7e9122031 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 28 Aug 2025 11:19:48 -0600 Subject: [PATCH 3/3] List and page_summary templates for twitter section --- layouts/tweets/list.html | 14 ++++++++++++++ layouts/tweets/page_summary.html | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 layouts/tweets/list.html create mode 100644 layouts/tweets/page_summary.html 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 }} +
+