title: How to change the background picture and content of each pages in django way
body: <p>I have a base.html file and 10+ other pages with different background picture and contents. I tried using <code>{% extends "base.html" %}</code> , but how can I change my background picture and content in each pages if am doing so? Please help me on this case. Thanks in advance. </p>
  
  <h2>EDIT</h2>
  
  <p>My directory:</p>
  
  <p><a href="https://i.stack.imgur.com/mdxBO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mdxBO.png" alt="enter image description here"></a></p>
  
  <p>And my base.html:</p>
  
  <pre><code>     {% load staticfiles %}
  
        &lt;!DOCTYPE html&gt;
        &lt;html lang="en"&gt;
          &lt;head&gt;
            &lt;meta charset="utf-8"&gt;
            &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
            &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
            &lt;!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --&gt;
            &lt;meta name="description" content=""&gt;
            &lt;meta name="author" content=""&gt;
            &lt;link rel="icon" href="../../favicon.ico"&gt;
  
            &lt;title&gt;Parasol.&lt;/title&gt;
  
            &lt;!-- Bootstrap core CSS --&gt;
              &lt;link href="{%  static 'css/bootstrap.min.css' %}" rel="stylesheet"&gt;
              &lt;link href="{%  static 'css/navbar-static-top.css' %}" rel="stylesheet"&gt;
              &lt;link href="{%  static 'css/style.css' %}" rel="stylesheet"&gt;
  
            &lt;!-- Custom styles for this template --&gt;
            &lt;link href="navbar-static-top.css" rel="stylesheet"&gt;
            &lt;script src="../../assets/js/ie-emulation-modes-warning.js"&gt;&lt;/script&gt;
            &lt;style&gt;
            {% block additional_styles %}
       body {
        background:url(static/custom/img/voice.jpg) no-repeat center center fixed;
       }
    &lt;/style&gt;
  
        {% endblock %}
  
          &lt;/head&gt;
          &lt;body&gt;
         &lt;nav class="navbar navbar-default navbar-static-top"&gt;
              &lt;div class="container"&gt;
                &lt;div class="navbar-header"&gt;
                  &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"&gt;
                    &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                  &lt;a class="navbar-brand" href="{% url "home" %}"&gt;Parasol.&lt;/a&gt;
                &lt;/div&gt;
                &lt;div id="navbar" class="navbar-collapse collapse"&gt;
                  &lt;ul class="nav navbar-nav"&gt;
                      &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;Photos &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                      &lt;ul class="dropdown-menu"&gt;
                        &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                    &lt;/li&gt;
                  &lt;/ul&gt;
                  &lt;ul class="nav navbar-nav navbar-right"&gt;
                    &lt;li&gt;&lt;a href="{% url "firstsite" %}"&gt;Timeline&lt;/a&gt;&lt;/li&gt;
                    &lt;li class="active"&gt;&lt;a href="./"&gt;Quotes&lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a href="{% url "friends" %}"&gt;Friends&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
                &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
              &lt;/div&gt;
            &lt;/nav&gt;
            &lt;div class="container"&gt;
              &lt;div class="jumbotron"&gt;
                &lt;h1&gt;Just her and the revolution&lt;/h1&gt;
                &lt;p&gt;
        &lt;a href="{% url 'go' %}" class="btn btn-lg btn-primary"&gt;Let's take a trip.. &lt;/a&gt;
                &lt;/p&gt;
              &lt;/div&gt;
  
            &lt;/div&gt;
            &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
            &lt;script src="../../dist/js/bootstrap.min.js"&gt;&lt;/script&gt;
            &lt;!-- IE10 viewport hack for Surface/desktop Windows 8 bug --&gt;
            &lt;script src="../../assets/js/ie10-viewport-bug-workaround.js"&gt;&lt;/script&gt;
  
          &lt;/body&gt;
        &lt;/html&gt;
  </code></pre>