Added lost tags

This commit is contained in:
Jesús 2019-11-22 15:12:22 -05:00
parent 05c448b3ac
commit 720985a502
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
4 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block head %}
{% block title %}
<title>{{ SITENAME }}</title>
{% endblock %}
{{ super() }}
{% endblock %}
{% block content %}
<ul>
{% for category, articles in categories %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@ -0,0 +1,21 @@
{% extends "base.html" %}
{% block head %}
<!-- Hola -->
{% block title %}
<title>{{ category.name }} - {{SITENAME}}</title>
{% endblock %}
{{ super() }}
<style>
.card-content-header {
margin-bottom: 2rem;
}
</style>
{% endblock %}
{% block content %}
<div class="card-content-header">
<h4 class="title is-4 has-text-centered">{{ category }}</h4>
</div>
{{ super() }}
{% endblock %}

View File

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block head %}
{% block title %}<title>#{{ tag.name }} - {{SITENAME}}</title>{% endblock title %}
{{ super() }}
<meta name="robots" content="noindex, follow" />
<style>
.card-content-header {
margin-bottom: 2rem;
}
</style>
{% endblock %}
{% block content %}
<div class="card-content-header">
<h4 class="title is-4 has-text-centered">#{{ tag }}</h4>
</div>
{{ super() }}
{% endblock %}

View File

@ -0,0 +1,51 @@
{% extends "base.html" %}
{% block head %}
{% block title %}
<title>{{ _('Lista de etiquetas de %(sitename)s', sitename=SITENAME)}}</title>
{% endblock %}
{{ super() }}
<meta name="description" content="{% trans %}Lista de etiquetas de {{ SITENAME }}{% endtrans %}">
<meta name="keywords" content="{{ _('etiquetas,palabras clave') }}">
<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 etiquetas') }}</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 tag, articles in tags|sort %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
</div>
<!-- end of post text -->
</div>
</div>
</div>
</div>
<!-- end of post content -->
</article>
</div>
</div>
{% endblock %}