title: django template anchor tag not working
body: <p>I have a header in my webpage and a logo in that header. I want to insert an anchor tag in that logo which points to my home page which is index.html page,despite which ever view or page is called. I have created a base.html,a snippet of which is:</p>
  
  <pre><code>&lt;div class="header"&gt;
              &lt;div class="inner_header"&gt;
                  &lt;div class="logo"&gt;
  
                      &lt;a href='#'&gt;&lt;img src="{% static 'images/logo.png' %}" alt="logo" /&gt; &lt;/a&gt;
  
                  &lt;/div&gt;
  </code></pre>
  
  <p>I have extended this base.html to all my other template files</p>
  
  <p>My url pattern that points to my index page and to other pages is this:</p>
  
  <pre><code> urlpatterns = patterns('',
          url(r'^$', views.index, name='index'),
          url(r'^category/(?P&lt;category_name_slug&gt;[\w\-]+)/$', views.category, name='category'),
          url(r'^latest/(?P&lt;latest_title_slug&gt;[\w\-]+)/$', views.latest, name='latest'),
          url(r'^headline/(?P&lt;heading_title_slug&gt;[\w\-]+)/$', views.headline, name='headline'),)
  </code></pre>
  
  <p>I have tried using <code>&lt;a href="index.html"&gt;,&lt;a href=''&gt;</code> and bunch of other things which doesn't produce the desired result or gives an error. What is the appropriate way to do this without writing lot of codes ?</p>