diff options
| author | rebecca <ubq323@ubq323.website> | 2026-10-31 19:05:07 +0000 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-10-31 22:11:04 +0000 |
| commit | 0c937791c3d42efc2a17920e3bdce431f41d4dda (patch) | |
| tree | 69a1bce7ac382fb0adb2cb28c966de2a016c9e44 | |
| parent | a16fc6747596f97a42a71eff5e96e2f61f8c6a6d (diff) | |
make favicon url configurable
only so that my dev and production instances can look different in the tab bar
| -rw-r--r-- | apioforum/templates/base.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html index 61cc075..753e78c 100644 --- a/apioforum/templates/base.html +++ b/apioforum/templates/base.html @@ -7,7 +7,9 @@ <meta name="viewport" content="width=device-width, initial-scale=0.9"> <link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/md-colors.css"> - <link rel="icon" href="//gh0.pw/i/a.ico"> + {% if config.FAVICON %} + <link rel="icon" href="{{config.FAVICON}}"> + {%endif%} </head> <body> <nav aria-label="main" id="navbar"> |
