aboutsummaryrefslogtreecommitdiffstats
path: root/cl-theme/templates/categories.html
blob: 77bbfd10530a3ed1dc6b7d585ae57c4cb19f0d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% extends "base.html" %}

{% block head %}
    {% block title %}
        <title>{{ _('Lista de categorías de %(sitename)s', sitename=SITENAME)}}</title>
    {% endblock %}
    {{ super() }}
    <meta name="description" content="{{ _('Lista de categorías de %(sitename)s', sitename=SITENAME) }}"/>
    <meta name="keywords" content="{{ _('categorías') }}">
    <style>
     .card-content-header {
         margin-bottom: 2rem;
     }
    </style>
{% endblock %}

{% block content %}
    <div class="container">
        <!-- start of posts -->
        <div class="columns is-multiline is-centered">
            <!-- start of post -->
            <article class="column is-7">
                <div class="card">
                    <!-- post header -->
                    <div class="card-content-header">
                        <h2 class="title is-4 has-text-centered">{{ _('Lista de categorías') }}</h2>
                    </div>
                    <!-- end of post header -->

                    <!-- post content -->
                    <div class="card-content">
                        <div class="content">
                            <div class="card-inner-wrapper">
                                <!-- post text -->
                                <div class="card-content-text has-text-justified">
                                    <ul>
                                        {% for category, articles in categories %}
                                            <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
                                        {% endfor %}
                                    </ul>
                                </div>
                                <!-- end of post text -->
                            </div>
                        </div>
                    </div>
                </div>
                <!-- end of post content -->
            </article>
        </div>
    </div>
{% endblock %}