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

View file

@ -33,7 +33,11 @@
{% include "google_analytics.html" %}
<!-- End Google Analytics -->
{% 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">