favicon.ico -> static

pull/95/head
eric 2018-07-29 15:39:06 -04:00
parent 923a79df18
commit a0ae260191
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<meta name="twitter:site" content="@unglueit" />
{% block extra_meta %}{% endblock %}
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/sitewide4.scss' %}" />
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
<link rel="SHORTCUT ICON" href="{% url 'favicon'%}">
{% block extra_css %}{% endblock %}
<script type="text/javascript" src="{{ jquery_home }}"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>

View File

@ -117,6 +117,7 @@ urlpatterns = [
url('^404testing/$', TemplateView.as_view(template_name='404.html') ),
url('^500testing/$', TemplateView.as_view(template_name='500.html')),
url('^robots.txt$', TemplateView.as_view(template_name='robots.txt',content_type='text/plain')),
url(r'favicon.ico$', views.static_redirect_view, {'file_name': 'favicon.ico', 'dir': 'images'}, name="favicon"),
url(r"^emailshare/(?P<action>\w*)/?$", views.emailshare, name="emailshare"),
url(r"^feedback/campaign/(?P<campaign_id>\d+)/?$", views.ask_rh, name="ask_rh"),
url(r"^feedback/$", views.feedback, name="feedback"),