{% if all_topics %}
    <ul>
    {% for topic in all_topics %}
        <li><a href="{% url 'topics:topic' topic.slug %}">{{ topic.name }}</a></li>
    {% endfor %}
    </ul>
{% else %}
    <p>No topics are available.</p>
{% endif %}

<h1>Topics</h1>
{% if all_topics %}
  <ul>
  {% for topic in all_topics %}
      <li><a href="{% url 'topics:topic' topic.slug %}">{{ topic.name }}</a></li>
  {% endfor %}
  </ul>
{% else %}
  <p>No topics are available.</p>
{% endif %}

Add heading to topics homepage
Add heading to topics homepage
