Added lost tags
This commit is contained in:
parent
05c448b3ac
commit
720985a502
16
cl-theme/templates/categories.html
Normal file
16
cl-theme/templates/categories.html
Normal 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 %}
|
21
cl-theme/templates/category.html
Normal file
21
cl-theme/templates/category.html
Normal 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 %}
|
17
cl-theme/templates/tag.html
Normal file
17
cl-theme/templates/tag.html
Normal 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 %}
|
51
cl-theme/templates/tags.html
Normal file
51
cl-theme/templates/tags.html
Normal 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 %}
|
Loading…
x
Reference in New Issue
Block a user