{% extends "planet/base.html" %}
{% load i18n pagination_tags  %}

{% block head_title %}{% trans "Feeds" %} :: {{ site.name }}{% endblock %}

{% block extra_head %}
    <meta name="title" content="{% trans 'Feeds about Django' %} " />
    <meta name="description" content="{% trans 'Feeds of blogs talking about Django' %} " />
    <meta name="robots" content="noindex, follow" />
{% endblock %}

{% block breadcrumb_section %}
    <li class="breadcrumb-item active" aria-current="page">{% trans 'Feeds' %}</li>
{% endblock %}

{% block content %}
<h1>{% trans "Feeds" %}</h1>
<div class="container">
    {% autopaginate feeds_list 20 %}
    {% for feed in feeds_list %}
        <div class="row">
            <h2 class="px-0">
                <a class="text-decoration-none text-success" href="{{ feed.get_absolute_url }}" class="feed" title="{% trans 'See the full list of post from this feed' %}">{{ feed.title }}</a>
            </h2>
            <div class="table-responsive px-0">
                <table class="table table-bordered mb-4">
                    <tr>
                        <th>{% trans 'Feed' %}</th>
                        <td><a href="{{ feed.url }}" class="text-decoration-none text-success" title="{% trans 'Subscribe to this feed' %}">{{ feed.url }}</a></td>
                    </tr>
                    <tr>
                        <th>{% trans 'web' %}</th>
                        <td><a href="{{ feed.blog.url }}" class="text-decoration-none text-success" title="{% trans 'Go to the original blog' %}">{{ feed.blog.url }}</td>
                    </tr>
                    <tr>
                        <th>{% trans 'browse' %}</th>
                        <td><a href="{{ feed.get_absolute_url }}" class="text-decoration-none text-success" title="{% trans 'See the full list of posts from this feed' %}">{% trans 'latest posts' %}</a></td>
                    </tr>
                </table>
            </div>
        </div>
    {% endfor %}
    {% paginate %}
</div>
{% endblock %}
