Skip to content

Commit

Permalink
Update favicon to be available when the default theme is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellamaki committed Oct 28, 2024
1 parent ecbd748 commit 009ff74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kolibri/core/templatetags/core_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def theme_favicon():

# Choose the first available .ico file. It's unlikely there's more than
# one specified in the theme.
favicon_url = favicon_urls[0] if favicon_urls else static("assets/logo.ico")
favicon_url = (
favicon_urls[0] if favicon_urls else static("assets/favicons/logo.ico")
)

return format_html('<link rel="shortcut icon" href="{}">', favicon_url)

Expand Down

0 comments on commit 009ff74

Please sign in to comment.