nandi/gleanpublic⑂ Fork 0
⑂ a091372
Commits
⬇ Clone ▾
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Fix trending scope default and filter logicUnverified

Julien Robert committed 2026-04-21T14:51:42+02:00 Browse files
a091372 parent: f988072
modified internal/tmpl/articles.html +2 -2
@@ -24,8 +24,8 @@
2424 <div class="flex items-center gap-2 shrink-0">
2525 <a href="/articles?status=all{{if .FeedURL}}&feed={{.FeedURL}}{{end}}"
2626 class="px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-button transition
27- {{if eq .Status ""}}bg-spot-active-pill-bg text-spot-active-pill-text{{else}}bg-spot-hover text-spot-secondary hover:text-spot-text{{end}}">
28- All
27+ {{if or (eq .Status "") (eq .Status "all")}}bg-spot-active-pill-bg text-spot-active-pill-text{{else}}bg-spot-hover text-spot-secondary hover:text-spot-text{{end}}">
28+ All
2929 </a>
3030 <a href="/articles?status=unread{{if .FeedURL}}&feed={{.FeedURL}}{{end}}"
3131 class="px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-button transition
@@ -24,8 +24,8 @@
24 <div class="flex items-center gap-2 shrink-0">24 <div class="flex items-center gap-2 shrink-0">
25 <a href="/articles?status=all{{if .FeedURL}}&feed={{.FeedURL}}{{end}}"25 <a href="/articles?status=all{{if .FeedURL}}&feed={{.FeedURL}}{{end}}"
26 class="px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-button transition26 class="px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-button transition
27- {{if eq .Status ""}}bg-spot-active-pill-bg text-spot-active-pill-text{{else}}bg-spot-hover text-spot-secondary hover:text-spot-text{{end}}">27+ {{if or (eq .Status "") (eq .Status "all")}}bg-spot-active-pill-bg text-spot-active-pill-text{{else}}bg-spot-hover text-spot-secondary hover:text-spot-text{{end}}">
28- All28+ All
29 </a>29 </a>
30 <a href="/articles?status=unread{{if .FeedURL}}&feed={{.FeedURL}}{{end}}"30 <a href="/articles?status=unread{{if .FeedURL}}&feed={{.FeedURL}}{{end}}"
31 class="px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-button transition31 class="px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-button transition