mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
feat: combine feed icon handlers to use only externalIconID
This commit is contained in:
parent
c531be8780
commit
e643effefa
16 changed files with 33 additions and 52 deletions
|
@ -48,7 +48,7 @@
|
|||
<h2 id="entry-title-{{ .ID }}" class="item-title">
|
||||
<a href="{{ route "readEntry" "entryID" .ID }}">
|
||||
{{ if ne .Feed.Icon.IconID 0 }}
|
||||
<img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="">
|
||||
<img src="{{ route "feedIcon" "externalIconID" .Feed.Icon.ExternalIconID }}" width="16" height="16" loading="lazy" alt="">
|
||||
{{ end }}
|
||||
{{ .Title }}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue