title: Django template inheritance - markup CSS class
body: <p>I would like to make a master.html for inheritance, but my problem is that in 3 different places the code is the same except the body class.</p>
  
  <p>So I have master.html</p>
  
  <pre><code>&lt;html&gt;
   &lt;head&gt;...&lt;head&gt;
   &lt;body&gt;
    {% block one %}{% endblock %}
    {% block two %}{% endblock %}
    {% block extra %}{% endblock %}
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But in some places I have 
      &lt;_body class="front">
      &lt;_body class="not_front"> 
  The rest of my content (like .js files, images) is the same.</p>
  
  <p>Is there any clean way do it right and not to have three different 'masters'?</p>