{{ define "feed_list" }}
{{ range .feeds }}
{{ if and (.Icon) (gt .Icon.IconID 0) }} {{ .Title }} {{ end }} {{ if .Disabled }} 🚫 {{ end }} {{ .Title }} ({{ .UnreadCount }}/{{ .ReadCount }}) {{ .Category.Title }}
  • {{ domain .SiteURL }}
  • {{ t "page.feeds.last_check" }}
  • {{ $nextCheckDuration := duration .NextCheckAt }} {{ if ne $nextCheckDuration "" }}
  • {{ t "page.feeds.next_check" }}
  • {{ end }}
{{ if ne .ParsingErrorCount 0 }}
{{ plural "page.feeds.error_count" .ParsingErrorCount .ParsingErrorCount }} - {{ .ParsingErrorMsg }}
{{ end }}
{{ end }}
{{ end }}