diff options
| author | Clayton Craft | 2022-04-17 11:01:09 -0700 |
|---|---|---|
| committer | Jieiku | 2022-05-30 22:17:46 -0700 |
| commit | 2c6fd450834a1452ef2c5436aa27d90f12f5a7f0 (patch) | |
| tree | aef172053e34cfb9ec1e7bff642e9001932855c7 /templates/base.html | |
| parent | 50056964fe7561e0db371ea83a24ba99f881dce5 (diff) | |
| download | abridge-2c6fd450834a1452ef2c5436aa27d90f12f5a7f0.tar.gz abridge-2c6fd450834a1452ef2c5436aa27d90f12f5a7f0.tar.bz2 abridge-2c6fd450834a1452ef2c5436aa27d90f12f5a7f0.zip | |
base: add option to allow overriding the default favicon
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index 53cde0d..7f6f95f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,7 +40,11 @@ <meta name="apple-mobile-web-app-status-bar-style" content="default"> {% block css %}<link rel="stylesheet" href="{{ get_url(path="abridge.css", trailing_slash=false, cachebust=true) }}">{% endblock css %} + {% if config.extra.favicon %} + <link rel="shortcut icon" href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}" sizes="16x16" type="image/png"/> + {% else %} <link rel="shortcut icon" href="{{ get_url(path="favicon.png", trailing_slash=false) }}" sizes="16x16" type="image/png"/> + {% endif %} <link rel="canonical" href="{{ get_url(path="/") }}"> {% if config.generate_feed %}<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="atom.xml") }}">{% endif %} {% block ogp_head %} |
