A social RSS reader built on the AT Protocol. glean.at
glean atproto atmosphere rss feed social app
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix feed item empty category span

+2 -2
+1 -1
internal/tmpl/partials/feed-item.html
··· 5 5 <div class="min-w-0 flex-1"> 6 6 <div class="flex items-center gap-2 flex-wrap"> 7 7 <span class="font-bold text-spot-text truncate">{{if .FeedTitle}}{{.FeedTitle}}{{else}}{{.FeedURL}}{{end}}</span> 8 - {{if .Category.Valid}}<span class="text-xs bg-spot-hover text-spot-secondary px-2 py-0.5 rounded-full shrink-0">{{.Category.String}}</span>{{end}} 8 + {{if and .Category.Valid .Category.String}}<span class="text-xs bg-spot-hover text-spot-secondary px-2 py-0.5 rounded-full shrink-0">{{.Category.String}}</span>{{end}} 9 9 </div> 10 10 <div class="text-xs text-spot-muted truncate mt-0.5">{{.FeedURL}}</div> 11 11 </div>
+1 -1
internal/tmpl/profile.html
··· 30 30 <div class="min-w-0 flex-1"> 31 31 <div class="flex items-center gap-2 flex-wrap"> 32 32 <span class="font-bold text-spot-text truncate">{{if .FeedTitle}}{{.FeedTitle}}{{else}}{{.FeedURL}}{{end}}</span> 33 - {{if .Category.Valid}}<span class="text-xs bg-spot-hover text-spot-secondary px-2 py-0.5 rounded-full shrink-0">{{.Category.String}}</span>{{end}} 33 + {{if and .Category.Valid .Category.String}}<span class="text-xs bg-spot-hover text-spot-secondary px-2 py-0.5 rounded-full shrink-0">{{.Category.String}}</span>{{end}} 34 34 </div> 35 35 <div class="text-xs text-spot-muted truncate mt-0.5">{{.FeedURL}}</div> 36 36 </div>