Merge pull request #628 from tiwariav/bugfix/unglieich_cms_template_favicon

bugfix/ add favicon extension to ungleich cms template
This commit is contained in:
Arvind Tiwari 2018-04-30 21:20:41 +05:30 committed by GitHub
commit 6bb65d8e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,11 @@
{% include "google_analytics.html" %}
<!-- End Google Analytics -->
<link rel="shortcut icon" href="{% static 'ungleich_page/img/favicon.ico' %}" type="image/x-icon">
{% if request.current_page.cmsfaviconextension %}
<link rel="shortcut icon" href="{% static request.current_page.cmsfaviconextension.favicon.url %}" type="image/x-icon">
{% else %}
<link rel="shortcut icon" href="{% static 'ungleich_page/img/favicon.ico' %}" type="image/x-icon">
{% endif %}
</head>
<body id="page-top" class="index">