feat(feeds): share original articles through X extension
Build and publish container images / images (push) Successful in 11m18s

This commit is contained in:
Anya Tokugawa committed 2026-11-08 13:50:24 +09:00
1 parent c2bc637704
commit ea1ca432c5
5 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func (s *Server) handleFeeds(w http.ResponseWriter, r *http.Request) {
}
prefix = preferences.WikiPrefix
}
s.renderWithContext(w, r, "feeds.gohtml", map[string]any{"Title": "RSS", "FeedWritable": active, "FeedWikiPrefix": prefix})
s.renderWithContext(w, r, "feeds.gohtml", map[string]any{"Title": "RSS", "FeedWritable": active, "FeedWikiPrefix": prefix, "FeedShareX": s.systemExtensionEnabled(domain, "sharing.x")})
return
}
key := strings.TrimPrefix(r.URL.Path, feedsAPI)