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.

Refactor trending card to use favicon partial template

+1 -1
+1 -1
internal/tmpl/partials/trending-card.html
··· 4 4 <div class="min-w-0 flex-1"> 5 5 <a href="/articles/{{.ArticleID}}" class="font-bold text-spot-text hover:text-spot-green transition text-lg leading-tight">{{.Title}}</a> 6 6 <div class="text-sm text-spot-secondary mt-1 flex items-center gap-2"> 7 - {{if .FaviconURL}}<img src="{{.FaviconURL}}" class="w-4 h-4 rounded shrink-0" loading="lazy">{{end}} 7 + {{template "favicon" dict "src" .FaviconURL "size" "w-4 h-4"}} 8 8 {{if .Author}}<span>{{.Author}}</span>{{end}} 9 9 <span class="text-spot-muted"><a href="/articles?feed={{.FeedURL}}" class="hover:text-spot-green transition">{{if .FeedTitle}}{{.FeedTitle}}{{else}}{{.FeedURL}}{{end}}</a></span> 10 10 </div>