Subject: [PATCH links] In link or note detail page, if the user viewing the page is the link/note owner, have tags link to their home feed versus the recent feed.

From: Peter Sanchez <[email-masked]>
Date: Wed, 14 Jan 2026 09:21:49 -0600

Implements: https://todo.code.netlandish.com/~netlandish/links/124
Changelog-updated: Detail views for note/link will use the home feed for
 tag linking when it's the note/link owner.
---
 templates/link_detail.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/link_detail.html b/templates/link_detail.html
index 23bdf12..cae7a7c 100644
--- a/templates/link_detail.html
+++ b/templates/link_detail.html
@@ -36,8 +36,12 @@
   <p>{{.pd.Data.tags}}:</p>
   <div class="link-tag">
     {{range .link.Tags}}
+    {{if eq $.link.UserID $.currentUserID}}
+    <a class="link-tag__item" href="{{reverse "core:home_link_list"}}?tag={{.Slug}}">{{.Name}}</a>
+    {{else}}
     <a class="link-tag__item" href="{{reverse "core:recent_link_list"}}?tag={{.Slug}}">{{.Name}}</a>
     {{end}}
+    {{end}}
   </div>
   {{end}}
   {{if eq .link.UserID .currentUserID}}
-- 
2.52.0

---

From: "Peter Sanchez" <[email-masked]>
Date: Wed, 14 Jan 2026 09:26:41 -0600

Applied.

To [email-masked]:~netlandish/links
   5fabccb..d81584e  master -> master