title: Django Template: Displaying variable with optional content
body: <p>The code below is what I do when I have content with before to display:</p>
  
  <pre><code>{% if content %}
      &lt;p&gt; The variable contains: {{ content }}&lt;/p&gt;        
  {% endif %}
  </code></pre>
  
  <p>Isn't there a shortcuts that will help so that I don't check the value of <code>content</code> each time?</p>