replace FontIcons for SVGIcons
This commit is contained in:
@@ -1,83 +1,82 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block extra_head %}
|
||||
<meta name="description" content="{{ _('Lista de artículos publicados en Conocimientos Libres.') }}">
|
||||
<meta name="keywords" content="{{ _('archivos,artículos,historia,lista de artículos') }}">
|
||||
<meta name="description" content="{{ _('Lista de artículos publicados en Conocimientos Libres.') }}">
|
||||
<meta name="keywords" content="{{ _('archivos,artículos,historia,lista de artículos') }}">
|
||||
|
||||
<style>
|
||||
<style>
|
||||
|
||||
.content ul, .content ul ul, .content ul ul ul {
|
||||
list-style:none !important;
|
||||
}
|
||||
.content ul, .content ul ul, .content ul ul ul {
|
||||
list-style:none !important;
|
||||
}
|
||||
|
||||
.content ul {
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
.content ul {
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding-left: 2%;
|
||||
line-height: normal;
|
||||
}
|
||||
.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding-left: 2%;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.contenedor-arbol ul {
|
||||
list-style: none;
|
||||
}
|
||||
.contenedor-arbol ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.contenedor-arbol li::before, .contenedor-arbol li::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -12px;
|
||||
}
|
||||
.contenedor-arbol li::before, .contenedor-arbol li::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -12px;
|
||||
}
|
||||
|
||||
.contenedor-arbol li::before {
|
||||
border-top: 2px solid #111;
|
||||
top: 9px;
|
||||
width: 12px;
|
||||
height: 0;
|
||||
}
|
||||
.contenedor-arbol li::before {
|
||||
border-top: 2px solid #111;
|
||||
top: 9px;
|
||||
width: 12px;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.contenedor-arbol li::after {
|
||||
border-left: 2px solid black;
|
||||
height: 100%;
|
||||
width: 0px;
|
||||
top: 2px;
|
||||
}
|
||||
.contenedor-arbol li::after {
|
||||
border-left: 2px solid black;
|
||||
height: 100%;
|
||||
width: 0px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.contenedor-arbol ul > li:last-child::after {
|
||||
height: 8px;
|
||||
}
|
||||
</style>
|
||||
.contenedor-arbol ul > li:last-child::after {
|
||||
height: 8px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}{% trans %}Archivos de {{ SITENAME }}{% endtrans %}{% endblock %}
|
||||
{% block content %}
|
||||
<!-- page content -->
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of post -->
|
||||
<div class="column is-7">
|
||||
<div class="card">
|
||||
<!-- page content -->
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of post -->
|
||||
<div class="column is-7">
|
||||
<div class="card">
|
||||
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{% trans %}Archivos de {{ SITENAME }}{% endtrans %}</h4>
|
||||
</div>
|
||||
<!-- end of post header -->
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{% trans %}Archivos de {{ SITENAME }}{% endtrans %}</h4>
|
||||
</div>
|
||||
<!-- end of post header -->
|
||||
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
|
||||
<div class="contenedor-arbol">
|
||||
<p>{{ ngettext('%(num)d artículo', '%(num)d artículos', dates|length) }}</p>
|
||||
<ul>
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
<div class="contenedor-arbol">
|
||||
<p>{{ ngettext('%(num)d artículo', '%(num)d artículos', dates|length) }}</p>
|
||||
<ul>
|
||||
{% for article in dates %}
|
||||
{% set current_year = article.date|strftime('%Y') %}
|
||||
{% set current_month = article.date|strftime('%m') %}
|
||||
@@ -85,50 +84,47 @@
|
||||
{% set previous_year = loop.previtem.date|strftime('%Y') %}
|
||||
{% set previous_month = loop.previtem.date|strftime('%m') %}
|
||||
{% endif %}
|
||||
|
||||
{% if current_year != previous_year %}
|
||||
{% if loop.previtem %}
|
||||
</ul>
|
||||
</ul>
|
||||
</li> <!-- Cierra el mes -->
|
||||
</ul>
|
||||
</ul>
|
||||
</li> <!-- Cierra el año -->
|
||||
{% endif %}
|
||||
|
||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/">{{ current_year }}</a>
|
||||
<ul>
|
||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
||||
<ul>
|
||||
{% elif current_month != previous_month %}
|
||||
{% if loop.previtem %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
||||
<ul>
|
||||
{% endif %}
|
||||
<li><a href="{{ SITEURL }}/{{ article.url }}" title="{{ article.locale_date}}">{{ article.title }}</a></li>
|
||||
{% if loop.last %}
|
||||
</ul>
|
||||
</li> <!-- Cierra el mes -->
|
||||
</ul>
|
||||
</li> <!-- Cierra el año -->
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/">{{ current_year }}</a>
|
||||
<ul>
|
||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
||||
<ul>
|
||||
{% elif current_month != previous_month %}
|
||||
{% if loop.previtem %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
||||
<ul>
|
||||
{% endif %}
|
||||
<li><a href="{{ SITEURL }}/{{ article.url }}" title="{{ article.locale_date}}">{{ article.title }}</a></li>
|
||||
{% if loop.last %}
|
||||
</ul>
|
||||
</li> <!-- Cierra el mes -->
|
||||
</ul>
|
||||
</li> <!-- Cierra el año -->
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post content -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post -->
|
||||
|
||||
</div>
|
||||
<!-- end of post content -->
|
||||
|
||||
</div>
|
||||
<!-- end of post -->
|
||||
</div>
|
||||
<!-- end of post column -->
|
||||
</div>
|
||||
<!-- end of post column -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of page content -->
|
||||
<!-- end of page content -->
|
||||
{% endblock %}
|
||||
|
||||
@@ -61,98 +61,109 @@
|
||||
<!-- page content -->
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of post -->
|
||||
<div class="column is-10">
|
||||
<div class="card">
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of post -->
|
||||
<div class="column is-10">
|
||||
<div class="card">
|
||||
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{{ article.title }}</h4>
|
||||
</div>
|
||||
<!-- end of post header -->
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{{ article.title }}</h4>
|
||||
</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">
|
||||
{{ article.content }}
|
||||
</div>
|
||||
<!-- end of post text -->
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
<!-- post text -->
|
||||
<div class="card-content-text has-text-justified">
|
||||
{{ article.content }}
|
||||
</div>
|
||||
<!-- end of post text -->
|
||||
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-gnusocial"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-diaspora"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-mastodon"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<div class="column has-text-left">
|
||||
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
|
||||
</div>
|
||||
<div class="column has-text-right">
|
||||
<i class="fa fa-calendar">
|
||||
{% set año = article.date|strftime('%Y') %}
|
||||
{% set mes = article.date|strftime('%m') %}
|
||||
{% set nombre_mes = article.date|strftime('%B') %}
|
||||
<time class="entry-date published"
|
||||
datetime="{{ article.date.isoformat() }}">
|
||||
<small>
|
||||
{{ article.date|strftime('%a %-d') }}
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
|
||||
title="{% trans %}Artículos de {{ nombre_mes }} de {{ año }}{% endtrans %}">
|
||||
{{ nombre_mes }}
|
||||
</a>
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/"
|
||||
title="{% trans %}Artículos de {{ año }}{% endtrans %}">{{ año }}
|
||||
</a>
|
||||
</small>
|
||||
</time>
|
||||
</i>
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<div class="column has-text-left">
|
||||
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
|
||||
</div>
|
||||
<div class="column has-text-right">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
|
||||
</svg>
|
||||
</span>
|
||||
{% set año = article.date|strftime('%Y') %}
|
||||
{% set mes = article.date|strftime('%m') %}
|
||||
{% set nombre_mes = article.date|strftime('%B') %}
|
||||
<time class="entry-date published"
|
||||
datetime="{{ article.date.isoformat() }}">
|
||||
<small>
|
||||
{{ article.date|strftime('%a %-d') }}
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
|
||||
title="{% trans %}Artículos de {{ nombre_mes }} de {{ año }}{% endtrans %}">
|
||||
{{ nombre_mes }}
|
||||
</a>
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/"
|
||||
title="{% trans %}Artículos de {{ año }}{% endtrans %}">{{ año }}
|
||||
</a>
|
||||
</small>
|
||||
</time>
|
||||
|
||||
{% if not HIDE_AUTHORS and article.authors %}
|
||||
<i class="fa fa-user-o">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#user"/>
|
||||
</svg>
|
||||
</span>
|
||||
{% for author in article.authors %}
|
||||
<small>
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
||||
</small>
|
||||
<small>
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
||||
</small>
|
||||
{% endfor %}
|
||||
</i>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer nav -->
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer nav -->
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post content -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post content -->
|
||||
|
||||
</div>
|
||||
<!-- end of post -->
|
||||
</div>
|
||||
<!-- end of post column -->
|
||||
</div>
|
||||
<!-- end of post -->
|
||||
</div>
|
||||
<!-- end of post column -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of page content -->
|
||||
|
||||
@@ -1,55 +1,63 @@
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer">
|
||||
<i class="fa fa-calendar">
|
||||
{% set año = article.date|strftime('%Y') %}
|
||||
{% set mes = article.date|strftime('%m') %}
|
||||
{% set nombre_mes = article.date|strftime('%B') %}
|
||||
<time class="entry-date published"
|
||||
datetime="{{ article.date.isoformat() }}">
|
||||
<small>
|
||||
{{ article.date|strftime('%a %-d') }}
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
|
||||
title="{% trans %}Artículos de {{ nombre_mes }} de {{ año }}{% endtrans %}">
|
||||
{{ nombre_mes }}
|
||||
</a>
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/"
|
||||
title="{% trans %}Artículos de {{ año }}{% endtrans %}">{{ año }}
|
||||
</a>
|
||||
</small>
|
||||
</time>
|
||||
</i>
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
|
||||
</svg>
|
||||
</span>
|
||||
{% set año = article.date|strftime('%Y') %}
|
||||
{% set mes = article.date|strftime('%m') %}
|
||||
{% set nombre_mes = article.date|strftime('%B') %}
|
||||
<time class="entry-date published"
|
||||
datetime="{{ article.date.isoformat() }}">
|
||||
<small>
|
||||
{{ article.date|strftime('%a %-d') }}
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
|
||||
title="{% trans %}Artículos de {{ nombre_mes }} de {{ año }}{% endtrans %}">
|
||||
{{ nombre_mes }}
|
||||
</a>
|
||||
<a href="{{ SITEURL }}/archives/{{ año }}/"
|
||||
title="{% trans %}Artículos de {{ año }}{% endtrans %}">{{ año }}
|
||||
</a>
|
||||
</small>
|
||||
</time>
|
||||
|
||||
{% if article.modified %}
|
||||
<i class="fa fa-calendar">
|
||||
<span class="edit-link"
|
||||
title="{{ _('Fecha de modificación') }}">
|
||||
<small class="screen-reader-text">{{ _('Modificado el %(fecha)s'|format(fecha='</small>
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="edit-link"
|
||||
title="{{ _('Fecha de modificación') }}">
|
||||
<small class="screen-reader-text">{{ _('Modificado el %(fecha)s'|format(fecha='</small>
|
||||
<time class="updated" datetime="%s"><small>%s</small></time>')|format(article.modified.isoformat(), article.locale_modified)) }}
|
||||
</span>
|
||||
</i>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<!-- <i class="fa fa-comment">
|
||||
<small>20 comments</small>
|
||||
</i> -->
|
||||
|
||||
{% if not HIDE_AUTHORS and article.authors %}
|
||||
<i class="fa fa-user-o">
|
||||
{% for author in article.authors %}
|
||||
<small>
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
||||
</small>
|
||||
{% endfor %}
|
||||
</i>
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#user" />
|
||||
</svg>
|
||||
</span>
|
||||
{% for author in article.authors %}
|
||||
<small>
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
||||
</small>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{% if translations.translations_for(article) %}
|
||||
<i class="fa fa-flag">
|
||||
<small>
|
||||
{{ translations.translations_for(article) }}
|
||||
</small>
|
||||
</i>
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
|
||||
</svg>
|
||||
</span>
|
||||
<small>
|
||||
{{ translations.translations_for(article) }}
|
||||
</small>
|
||||
{% else %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{% trans %}Autor: {{ author }}{% endtrans %}</h4>
|
||||
</div>
|
||||
{{ super() }}
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{% trans %}Autor: {{ author }}{% endtrans %}</h4>
|
||||
</div>
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
{% block content %}
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of pages -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of page -->
|
||||
<div class="column is-7">
|
||||
<div class="card">
|
||||
<!-- start of pages -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of page -->
|
||||
<div class="column is-7">
|
||||
<div class="card">
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{{ _('Créditos') }}</h4>
|
||||
@@ -23,9 +23,9 @@
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
<!-- post text -->
|
||||
<div class="card-content-text has-text-justified">
|
||||
<div class="card-inner-wrapper">
|
||||
<!-- post text -->
|
||||
<div class="card-content-text has-text-justified">
|
||||
|
||||
<h2>{{ _('Artículos') }}</h2>
|
||||
<ul>
|
||||
@@ -73,39 +73,45 @@
|
||||
<li>CitoplasmaC</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<!-- end of post text -->
|
||||
</div>
|
||||
<!-- end of post text -->
|
||||
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-gnusocial"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-diaspora"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-mastodon"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<div class="column has-text-left">
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<div class="column has-text-left">
|
||||
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer nav -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer nav -->
|
||||
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page content -->
|
||||
|
||||
@@ -16,10 +16,6 @@
|
||||
<meta property="og:url" content="{{ SITEURL }}">
|
||||
<meta property="og:description" content="{{ SITE_DESCRIPTION }}">
|
||||
{% endblock %}
|
||||
<!-- fonts -->
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/fontawesome.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/libresocial.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/roboto.css">
|
||||
<!-- stylesheets -->
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bulma.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/hover.css">
|
||||
@@ -36,8 +32,8 @@
|
||||
<!-- navigation -->
|
||||
<header class="navigation">
|
||||
<nav class="navbar">
|
||||
<div class="container">
|
||||
<!-- nav site title -->
|
||||
<div class="container">
|
||||
<!-- nav site title -->
|
||||
<!-- Input for menu-mobile with checkbox-->
|
||||
<input id="navbar-toggle-cbox" role="button" type="checkbox">
|
||||
<!-- End Input for menu-mobile with checkbox-->
|
||||
@@ -56,7 +52,7 @@
|
||||
<!-- end of burger -->
|
||||
</div>
|
||||
|
||||
<!-- this "navbar-menu" is hidden on mobile -->
|
||||
<!-- this "navbar-menu" is hidden on mobile -->
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
<div id="navMenu" class="navbar-menu">
|
||||
<ul class="navbar-end">
|
||||
@@ -69,8 +65,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- end of nav -->
|
||||
</div>
|
||||
<!-- end of nav -->
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- end navigation -->
|
||||
@@ -78,13 +74,13 @@
|
||||
<!-- page header (title, etc) -->
|
||||
<div class="main-header">
|
||||
<section class="hero">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="has-text-centered">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="has-text-centered">
|
||||
{%- block sitename -%}
|
||||
<!-- header && subheader -->
|
||||
<h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
|
||||
<h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
|
||||
<!-- header && subheader -->
|
||||
<h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
|
||||
<h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
|
||||
{%- endblock -%}
|
||||
|
||||
<!-- search form -->
|
||||
@@ -103,10 +99,10 @@
|
||||
</div>
|
||||
<!-- end search form -->
|
||||
|
||||
<!-- end of header && subheader -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of header && subheader -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<!-- end page header -->
|
||||
@@ -115,71 +111,77 @@
|
||||
<div class="main-content">
|
||||
{%- block content -%}
|
||||
<div class="container">
|
||||
<!-- start of posts -->
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered has-text-centered">
|
||||
<!-- start of post -->
|
||||
<!-- start of post -->
|
||||
{% for article in articles_page.object_list %}
|
||||
<div class="column is-4">
|
||||
<div class="card">
|
||||
<!-- image for post -->
|
||||
<div class="column is-4">
|
||||
<div class="card">
|
||||
<!-- image for post -->
|
||||
{% if article.image %}
|
||||
<div class="card-image">
|
||||
<div class="card-image">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}#titulo">
|
||||
<figure class="image ihover circle3">
|
||||
<figure class="image ihover circle3">
|
||||
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}" alt="{{ article.title }}">
|
||||
</figure>
|
||||
</figure>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="card-image">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}#titulo">
|
||||
<figure class="image ihover circle3">
|
||||
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/background/745x372.png" alt="Image">
|
||||
</figure>
|
||||
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/background/745x372.png" alt="Image">
|
||||
</figure>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- end of image for post -->
|
||||
<!-- end of image for post -->
|
||||
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4"><a href="{{ SITEURL }}/{{ article.url }}#titulo">{{ article.title }}</a></h4>
|
||||
</div>
|
||||
<!-- end of post header -->
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4"><a href="{{ SITEURL }}/{{ article.url }}#titulo">{{ article.title }}</a></h4>
|
||||
</div>
|
||||
<!-- end of post header -->
|
||||
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content social">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-gnusocial"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-diaspora"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-mastodon"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content social">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- post footer -->
|
||||
<!-- post footer -->
|
||||
{% include "article_info.html" %}
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
<!-- end of post content -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<!-- end of post -->
|
||||
</div>
|
||||
<!-- end of posts -->
|
||||
<!-- end of post -->
|
||||
</div>
|
||||
<!-- end of posts -->
|
||||
</div>
|
||||
<!-- pagination -->
|
||||
{% include "pagination.html" %}
|
||||
@@ -192,62 +194,82 @@
|
||||
<footer class="footer footer-top-shadow">
|
||||
|
||||
<!-- header nav content -->
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-diaspora"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-gnusocial"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-pump"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-pixelfed"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-peertube"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-mediagoblin"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-matrix"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="fa fa-rss"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- end of header nav content -->
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#pump"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#pixelfed"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#peertube"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mediagoblin"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#matrix"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#rss"/>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- end of header nav content -->
|
||||
<div class="container has-text-centered">
|
||||
<span class="icon">
|
||||
<i class="icon-libregit"></i>
|
||||
</span>
|
||||
<p>{{ _('Escrito por') }}
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#libregit"/>
|
||||
</svg>
|
||||
</span>
|
||||
<p>{{ _('Escrito por') }}
|
||||
<a href="https://libregit.org/heckyel">libregit.org/heckyel</a>
|
||||
</p>
|
||||
<p>{{ _('Este sitio es Software Libre') }}</p>
|
||||
<p>{{ _('Este sitio es Software Libre') }}</p>
|
||||
<p>
|
||||
<a href="https://libregit.org/heckyel/cl">{{ _('Código fuente') }}</a>
|
||||
<span class="icon">
|
||||
<i class="fa fa-code"></i>
|
||||
</span>
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#code"/>
|
||||
</svg>
|
||||
</span>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ SITEURL }}/pages/librejs.html" data-jslicense="1">{{ _('Licencias de JavaScript') }}</a>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block extra_head %}
|
||||
{{ super() }}
|
||||
{% if lang_siteurls and articles_page.number == 1 %}
|
||||
{% for lang, url in lang_siteurls.items() %}
|
||||
<link rel="alternate" hreflang="{{ lang }}" href="{{ url }}/">
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{{ super() }}
|
||||
{% if lang_siteurls and articles_page.number == 1 %}
|
||||
{% for lang, url in lang_siteurls.items() %}
|
||||
<link rel="alternate" hreflang="{{ lang }}" href="{{ url }}/">
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} | Page {{ articles_page.number }}{% endif %}{% endblock %}
|
||||
{% block sitename %}
|
||||
<h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
|
||||
<h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
|
||||
<h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
|
||||
<h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
|
||||
{% endblock %}
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of pages -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of page -->
|
||||
<div class="column is-7">
|
||||
<div class="card">
|
||||
<!-- start of pages -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of page -->
|
||||
<div class="column is-7">
|
||||
<div class="card">
|
||||
<!-- post header -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">{{ page.title }}</h4>
|
||||
@@ -45,52 +45,61 @@
|
||||
<!-- post content -->
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
<!-- post text -->
|
||||
<div class="card-content-text has-text-justified">
|
||||
<div class="card-inner-wrapper">
|
||||
<!-- post text -->
|
||||
<div class="card-content-text has-text-justified">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
<!-- end of post text -->
|
||||
</div>
|
||||
<!-- end of post text -->
|
||||
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-gnusocial"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-diaspora"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="icon">
|
||||
<i class="icon-mastodon"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<div class="column has-text-left">
|
||||
<!-- post footer -->
|
||||
<div class="card-content-footer-small">
|
||||
<div class="navbar is-social-center">
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<div class="column has-text-left">
|
||||
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
|
||||
</div>
|
||||
<div class="column has-text-right">
|
||||
<i class="fa fa-flag">
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{% if translations.translations_for(page) %}
|
||||
<small>
|
||||
{{ translations.translations_for(page) }}
|
||||
</small>
|
||||
{% endif %}
|
||||
</i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer nav -->
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="column has-text-right">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
|
||||
</svg>
|
||||
</span>
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{% if translations.translations_for(page) %}
|
||||
<small>
|
||||
{{ translations.translations_for(page) }}
|
||||
</small>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of post footer nav -->
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page content -->
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
<div class="pagination-style-custom">
|
||||
<nav class="pagination is-rounded is-centered" aria-label="pagination">
|
||||
{% if articles_page.has_previous() %}
|
||||
<a class="pagination-previous button is-button-grey"
|
||||
href="{{ SITEURL }}/{{ articles_previous_page.url }}">{{ _('Página anterior') }}</a>
|
||||
<a class="pagination-previous button is-button-grey"
|
||||
href="{{ SITEURL }}/{{ articles_previous_page.url }}">{{ _('Página anterior') }}</a>
|
||||
{% else %}
|
||||
<a class="pagination-previous disabled">{{ _('Página anterior') }}</a>
|
||||
<a class="pagination-previous disabled">{{ _('Página anterior') }}</a>
|
||||
{% endif %}
|
||||
|
||||
{% if articles_page.has_next() %}
|
||||
<a class="pagination-next button is-button-grey"
|
||||
href="{{ SITEURL }}/{{ articles_next_page.url }}">{{ _('Página siguiente') }}</a>
|
||||
<a class="pagination-next button is-button-grey"
|
||||
href="{{ SITEURL }}/{{ articles_next_page.url }}">{{ _('Página siguiente') }}</a>
|
||||
{% else %}
|
||||
<a class="pagination-next disabled">{{ _('Página siguiente') }}</a>
|
||||
<a class="pagination-next disabled">{{ _('Página siguiente') }}</a>
|
||||
{% endif %}
|
||||
|
||||
<ul class="pagination-list">
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of post -->
|
||||
<div class="column is-10">
|
||||
<div class="card">
|
||||
<div class="main-content">
|
||||
<div class="container">
|
||||
<!-- start of posts -->
|
||||
<div class="columns is-multiline is-centered">
|
||||
<!-- start of post -->
|
||||
<div class="column is-10">
|
||||
<div class="card">
|
||||
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">
|
||||
{% set len_period = period|length %}
|
||||
{%- if len_period == 1 -%}
|
||||
{{ _('Archivos de %(año)d', año=period[0]) }}
|
||||
{%- elif len_period == 2 -%}
|
||||
{{ _('Archivos de %(mes)s de %(año)d', año=period[0], mes=period[1]) }}
|
||||
{%- elif len_period == 3 -%}
|
||||
{{ _('Archivos del %(dia)d de %(mes)s de %(año)d', año=period[0], mes=period[1], dia=period[2]) }}
|
||||
{%- endif -%}
|
||||
</h4>
|
||||
</div>
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">
|
||||
{% set len_period = period|length %}
|
||||
{%- if len_period == 1 -%}
|
||||
{{ _('Archivos de %(año)d', año=period[0]) }}
|
||||
{%- elif len_period == 2 -%}
|
||||
{{ _('Archivos de %(mes)s de %(año)d', año=period[0], mes=period[1]) }}
|
||||
{%- elif len_period == 3 -%}
|
||||
{{ _('Archivos del %(dia)d de %(mes)s de %(año)d', año=period[0], mes=period[1], dia=period[2]) }}
|
||||
{%- endif -%}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
<div class="card-inner-wrapper">
|
||||
|
||||
<div class="entry-content">
|
||||
<dl>
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.date|strftime('%A %-d de %B de %Y a las %H:%M %z') }}</dt>
|
||||
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
<div class="entry-content">
|
||||
<dl>
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.date|strftime('%A %-d de %B de %Y a las %H:%M %z') }}</dt>
|
||||
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user