{{define "content"}}
CONFIGURED LISTS{{len .Data.Blocklists.Lists}}
LOADED LISTS{{len .Data.Blocklists.Loaded}}
ACTIVE RULES{{int .Data.Blocklists.Rules}}
UPDATE INTERVAL{{.Data.Blocklists.UpdateInterval}}

Configured feeds

Rule sources and their effective enablement.

Add rule
{{range .Data.Blocklists.Lists}}{{else}}{{end}}
NAMECATEGORYSOURCE FILEREMOTE URLENABLEDUPDATE INTERVAL
{{string (get . "name")}}{{string (get . "category")}}{{string (get . "file")}}{{string (get . "url")}}{{string (get . "enabled")}}{{string (get . "update_interval")}}
No blocklist feeds configured.

Remote list sync state

Read-only update and download results

{{range $key,$v:=.Data.Blocklists.State}}{{else}}{{end}}
NAMELAST SUCCESSLAST ATTEMPTRESULTMESSAGE
{{$key}}{{string (get $v "last_success")}}{{string (get $v "last_attempt")}}{{string (get $v "ok")}}{{string (get $v "message")}}
No remote feed sync state available.
REST can add individual block rules, but cannot list/remove them individually or force a remote feed download.
{{end}}