Avoid showing a broken image when there is no feed icon
This commit is contained in:
parent
ec3c604a83
commit
53cd369b05
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
<article class="item {{ if ne .ParsingErrorCount 0 }}feed-parsing-error{{ end }}">
|
||||
<div class="item-header" dir="auto">
|
||||
<span class="item-title">
|
||||
{{ if .Icon }}
|
||||
{{ if and (.Icon) (gt .Icon.IconID 0) }}
|
||||
<img src="{{ route "icon" "iconID" .Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Title }}">
|
||||
{{ end }}
|
||||
{{ if .Disabled }} 🚫 {{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue