title: Django pass parameter to web page via ListView class
body: <p>I have urls.py</p>
  
  <pre><code>urlpatterns = [
  url(r'^index',
      ListView.as_view(queryset=Post.objects.all().order_by("-date")[:4], template_name="personal/index.html")),
  ]
  </code></pre>
  
  <p>and a template file header.html where I have next lines </p>
  
  <pre><code>&lt; header class="intro-header" style="background-image: url('{% static background_image %}')"&gt;
  . . .
  &lt;/header&gt;
  </code></pre>
  
  <p>As you see I'm trying to set a background image to header, which path is held in background_image variable, I want to know how can I pass this parameter </p>
  
  <p>Is there any way to do it, or am I doing it completely wrong?</p>