title: django how to display a tag only if the value coming from the database is not null?
body: <p><strong>The logic for showing a tag</strong></p>
  
  <pre><code>{% if profile.facebook is not None %}&lt;i class="facebook icon"&gt;&lt;/i&gt;{% endif %}
  </code></pre>
  
  <p>i want to show the facebook icon only when the user has provided the link. if not i dont want to display the icon.</p>