writefreely/templates
google-labs-jules[bot] 90dbc05bd3 feat: Display list of remote users who liked a post
This change implements the ability to display a list of remote users
who have liked a post on an individual entry page (collection post).

Key changes include:
- Added a `RemoteLikers []*RemoteUser` field to the `PublicPost` struct in `posts.go`.
- Implemented a new database function `getRemoteLikersForPost(postID string)` in `database.go` to fetch likers by joining `remote_likes` and `remoteusers` tables.
- Modified the `GetPost` function in `database.go` to call `getRemoteLikersForPost` and populate the `RemoteLikers` field.
- Updated the `templates/collection-post.tmpl` template to iterate over `RemoteLikers` and display each user's handle as a link to their profile.
2025-05-22 07:52:11 +00:00
..
include Add Archive page for all blogs 2024-10-22 15:56:14 -04:00
user Merge pull request #1122 from writefreely/ap-likes 2024-12-01 18:34:31 -05:00
bare.tmpl fix: RTL support on post textarea 2024-01-10 23:30:04 +01:00
base.tmpl Add "Import posts" to base.tmpl to be consistent with /me/* nav bar 2024-02-09 12:51:00 -08:00
chorus-collection-post.tmpl Fix whitespace 2022-01-31 22:24:56 -05:00
chorus-collection.tmpl Support pagination when viewing language-filtered posts 2023-09-21 16:58:44 -04:00
classic.tmpl spelling: javascript 2023-03-05 02:24:29 -05:00
collection-archive.tmpl Add Archive page for all blogs 2024-10-22 15:56:14 -04:00
collection-post.tmpl feat: Display list of remote users who liked a post 2025-05-22 07:52:11 +00:00
collection-tags.tmpl Fix tagged posts falsely showing Older link 2023-07-08 00:31:02 -04:00
collection.tmpl Add Subscribers navigation for single-user instances 2023-09-25 17:04:08 -04:00
edit-meta.tmpl Merge branch 'develop' into custom-css 2022-11-14 23:41:36 -05:00
pad.tmpl fix: RTL support on post textarea 2024-01-10 23:30:04 +01:00
password-collection.tmpl Fix whitespace 2022-01-31 22:24:56 -05:00
post.tmpl Conditionally use twitter large summary card format when an image is available. 2023-10-25 17:15:05 -05:00
read.tmpl Truncate paid posts and show badge on Reader 2021-06-09 11:09:53 -04:00