aboutsummaryrefslogtreecommitdiff
path: root/cgit.css
diff options
context:
space:
mode:
authorChristian Barcenas <christian@cbarcenas.com>2025-08-21 14:46:33 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2026-02-24 00:39:05 +0100
commit11a6c92def985710eca79733f136b471d474b053 (patch)
tree84c5cdfd11d9edbf620c209d8e1d08c3501cb9f4 /cgit.css
parente9beaff4018c02f5c46987f8b2a2e904eba28ac4 (diff)
downloadcgit-11a6c92def985710eca79733f136b471d474b053.tar.xz
ui-shared: don't write <link> if favicon unset
Since the favicon setting defaults to "/favicon.ico", the user can only unset it with favicon=. However, that would write an empty string as the config value. Previously, such empty string always satisfied the if condition. In this case it is better to omit the <link> entirely. Signed-off-by: Christian Barcenas <christian@cbarcenas.com> Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgit.css')
0 files changed, 0 insertions, 0 deletions