summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-11 16:06:25 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-11 16:06:25 +0100
commitf6e9117beb19cfd44a15a4512d5c4db3876febf3 (patch)
treebfbad28226df98f7502188c821debf434a40f030
parent545cae0dbdc3f5c2acba1b19853ab0cee29d835d (diff)
downloadChimère - projet Saclay-f6e9117beb19cfd44a15a4512d5c4db3876febf3.tar.bz2
Chimère - projet Saclay-f6e9117beb19cfd44a15a4512d5c4db3876febf3.zip
Add favicon
-rw-r--r--templates/chimere/base.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/chimere/base.html b/templates/chimere/base.html
index 72efd17..ee4c04f 100644
--- a/templates/chimere/base.html
+++ b/templates/chimere/base.html
@@ -1,9 +1,11 @@
{% extends "base.html" %}
{% load chimere_tags i18n %}
{% block extra_head %}
+{% if favicon %}
+<link rel="shortcut icon" href="{{ MEDIA_URL }}{{favicon}}"/>
+{% endif %}
<link rel="stylesheet" href="{{ STATIC_URL }}font-awesome/css/font-awesome.min.css?ver=4.3.0" />
<link rel="stylesheet" href="{{ STATIC_URL }}bootstrap/bootstrap.min.css?ver=4.0.0-beta" />
-<link rel="shortcut icon" href="{{ STATIC_URL }}saclay/images/favicon.png?ver={{SACLAY_VERSION}}"/>
<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/styles.css?ver={{VERSION}}" />
<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/print.css?ver={{VERSION}}" media='print'/>
<link rel="stylesheet" href="{{ STATIC_URL }}saclay/css/styles.css?ver={{SACLAY_VERSION}}" />