summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2020-10-05 15:54:17 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2021-05-04 18:44:03 (GMT)
commit7f7a3a6963a3e8f4ab3c3ab1e1d9182bf3588619 (patch)
treedeb97be90d80f83effc9d693093b1cae617ddf42
parent372084307b039a69dea30b700b46a428875204b3 (diff)
downloadcut-publik-theme-main.zip
cut-publik-theme-main.tar.gz
cut-publik-theme-main.tar.bz2
misc: add site favicon (#47025)HEADv0.38main
-rw-r--r--static/grandlyon-cut/images/favicon.pngbin0 -> 816 bytes
-rw-r--r--templates/theme.html6
-rw-r--r--themes.json1
3 files changed, 7 insertions, 0 deletions
diff --git a/static/grandlyon-cut/images/favicon.png b/static/grandlyon-cut/images/favicon.png
new file mode 100644
index 0000000..bc6a1eb
--- /dev/null
+++ b/static/grandlyon-cut/images/favicon.png
Binary files differ
diff --git a/templates/theme.html b/templates/theme.html
index 46c97bc..9daacf4 100644
--- a/templates/theme.html
+++ b/templates/theme.html
@@ -1,6 +1,12 @@
{% extends "theme.html" %}
{% load i18n static %}
+{% block meta_icons %}
+ {% if favicon %}
+ <link rel="shortcut icon" href="{{site_base}}{% static "" %}{{favicon}}" />
+ {% endif %}
+{% endblock %}
+
{% block header-top %}
{% if request.partner or a2_return_url %}
<div id="return">
diff --git a/themes.json b/themes.json
index ee7d886..36da9ce 100644
--- a/themes.json
+++ b/themes.json
@@ -2,6 +2,7 @@
{"id": "grandlyon-cut",
"label": "Grand Lyon CUT",
"variables": {
+ "favicon": "grandlyon-cut/images/favicon.png",
"css_variant": "grandlyon-cut",
"no_extra_js": true,
"theme_color": "#FF0303"