{% extends "_base.html" %}


{% block body_class %}landing-page{% endblock %}


{% block content %}
<div class="main-title">
  <h1><a href="{% url 'index' %}">ManoPozicija.lt</a></h1>
  <h2>Politika suprantamai</h2>
</div>

<div class="main-topics">
  {% for topic in topics %}
  <a class="col-sm-3" href="{% url 'topic_details' %}"><span>{{ topic.title }}</span></a>
  {% endfor %}
</div>
{% endblock %}

{% extends "_base.html" %}


{% block body_class %}landing-page{% endblock %}


{% block content %}
<div class="main-title">
  <h1><a href="{% url 'index' %}">ManoPozicija.lt</a></h1>
  <h2>Politika suprantamai</h2>
</div>

<div class="main-topics">
  {% for topic in topics %}
  <a class="col-sm-3" href="{% url 'topic-details' topic.slug %}"><span>{{ topic.title }}</span></a>
  {% endfor %}
</div>
{% endblock %}

Fix link to the topic in langing page
Fix link to the topic in langing page
