{% extends "zola-clean-blog/templates/index.html" %}

{% block header %}
    <!-- Page Header -->
    <header class="masthead" style="background-image: url('{{ get_url(path="/img/about-bg.jpg")}}')">
        <div class="overlay">
        </div>
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-md-10 mx-auto">
                    <div class="page-heading">
                        <h1>RSS</h1>
                        <span class="subheading">RSS feeds</span>
                    </div>
                </div>
            </div>
        </div>
    </header>
{% endblock header %}

{% block content %}
    <!-- Main Content -->
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-md-10 mx-auto">
                {{ page.content | safe }}
            </div>
        </div>
    </div>

    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-md-10 mx-auto">
                <h2>Tags</h2>
                <ul>
                    {% set tags = get_taxonomy(kind="tags") %}
                    {% for tag in tags.items %}
                        <li><a href="{{ tag.permalink }}/rss.xml">{{ tag.name }}</a></li>
                    {% endfor %}
                </ul>
            </div>
        </div>
    </div>
{% endblock content %}
