remove duplicate main-content
This commit is contained in:
parent
1e525f348f
commit
e688de7eb7
@ -1,130 +1,124 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block extra_head %}
|
{% block extra_head %}
|
||||||
<meta name="description" content="{{ _('Lista de artículos publicados en Conocimientos Libres.') }}">
|
<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="keywords" content="{{ _('archivos,artículos,historia,lista de artículos') }}">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.content ul, .content ul ul, .content ul ul ul {
|
.content ul, .content ul ul, .content ul ul ul {
|
||||||
list-style:none !important;
|
list-style:none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content ul {
|
.content ul {
|
||||||
margin-left: 0px !important;
|
margin-left: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
|
.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 2%;
|
padding-left: 2%;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contenedor-arbol ul {
|
.contenedor-arbol ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contenedor-arbol li::before, .contenedor-arbol li::after {
|
.contenedor-arbol li::before, .contenedor-arbol li::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -12px;
|
left: -12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contenedor-arbol li::before {
|
.contenedor-arbol li::before {
|
||||||
border-top: 2px solid #111;
|
border-top: 2px solid #111;
|
||||||
top: 9px;
|
top: 9px;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contenedor-arbol li::after {
|
.contenedor-arbol li::after {
|
||||||
border-left: 2px solid black;
|
border-left: 2px solid black;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 0px;
|
width: 0px;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contenedor-arbol ul > li:last-child::after {
|
.contenedor-arbol ul > li:last-child::after {
|
||||||
height: 8px;
|
height: 8px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block title %}{% trans %}Archivos de {{ SITENAME }}{% endtrans %}{% endblock %}
|
{% block title %}{% trans %}Archivos de {{ SITENAME }}{% endtrans %}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- page content -->
|
<div class="container">
|
||||||
<div class="main-content">
|
<!-- start of posts -->
|
||||||
<div class="container">
|
<div class="columns is-multiline is-centered">
|
||||||
<!-- start of posts -->
|
<!-- start of post -->
|
||||||
<div class="columns is-multiline is-centered">
|
<div class="column is-7">
|
||||||
<!-- start of post -->
|
<div class="card">
|
||||||
<div class="column is-7">
|
|
||||||
<div class="card">
|
|
||||||
|
|
||||||
<!-- post header -->
|
<!-- post header -->
|
||||||
<div class="card-content-header">
|
<div class="card-content-header">
|
||||||
<h4 class="title is-4 has-text-centered">{% trans %}Archivos de {{ SITENAME }}{% endtrans %}</h4>
|
<h4 class="title is-4 has-text-centered">{% trans %}Archivos de {{ SITENAME }}{% endtrans %}</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post header -->
|
<!-- end of post header -->
|
||||||
|
|
||||||
<!-- post content -->
|
<!-- post content -->
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="card-inner-wrapper">
|
<div class="card-inner-wrapper">
|
||||||
<div class="contenedor-arbol">
|
<div class="contenedor-arbol">
|
||||||
<p>{{ ngettext('%(num)d artículo', '%(num)d artículos', dates|length) }}</p>
|
<p>{{ ngettext('%(num)d artículo', '%(num)d artículos', dates|length) }}</p>
|
||||||
<ul>
|
<ul>
|
||||||
{% for article in dates %}
|
{% for article in dates %}
|
||||||
{% set current_year = article.date|strftime('%Y') %}
|
{% set current_year = article.date|strftime('%Y') %}
|
||||||
{% set current_month = article.date|strftime('%m') %}
|
{% set current_month = article.date|strftime('%m') %}
|
||||||
{% if loop.previtem %}
|
{% if loop.previtem %}
|
||||||
{% set previous_year = loop.previtem.date|strftime('%Y') %}
|
{% set previous_year = loop.previtem.date|strftime('%Y') %}
|
||||||
{% set previous_month = loop.previtem.date|strftime('%m') %}
|
{% set previous_month = loop.previtem.date|strftime('%m') %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if current_year != previous_year %}
|
{% if current_year != previous_year %}
|
||||||
{% if loop.previtem %}
|
{% if loop.previtem %}
|
||||||
</ul>
|
</ul>
|
||||||
</li> <!-- Cierra el mes -->
|
</li> <!-- Cierra el mes -->
|
||||||
</ul>
|
</ul>
|
||||||
</li> <!-- Cierra el año -->
|
</li> <!-- Cierra el año -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/">{{ current_year }}</a>
|
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/">{{ current_year }}</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
||||||
<ul>
|
<ul>
|
||||||
{% elif current_month != previous_month %}
|
{% elif current_month != previous_month %}
|
||||||
{% if loop.previtem %}
|
{% if loop.previtem %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
<li><a href="{{ SITEURL }}/archives/{{ current_year }}/{{ current_month }}/">{{ article.date|strftime('%B') }}</a>
|
||||||
<ul>
|
<ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ SITEURL }}/{{ article.url }}" title="{{ article.locale_date}}">{{ article.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ article.url }}" title="{{ article.locale_date}}">{{ article.title }}</a></li>
|
||||||
{% if loop.last %}
|
{% if loop.last %}
|
||||||
</ul>
|
</ul>
|
||||||
</li> <!-- Cierra el mes -->
|
</li> <!-- Cierra el mes -->
|
||||||
</ul>
|
</ul>
|
||||||
</li> <!-- Cierra el año -->
|
</li> <!-- Cierra el año -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post content -->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post -->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post column -->
|
<!-- end of post content -->
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end of post -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end of page content -->
|
<!-- end of post column -->
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -58,116 +58,112 @@
|
|||||||
{% block title %}{{ article.title|striptags }}{% endblock %}
|
{% block title %}{{ article.title|striptags }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- page content -->
|
<div class="container">
|
||||||
<div class="main-content">
|
<!-- start of posts -->
|
||||||
<div class="container">
|
<div class="columns is-multiline is-centered">
|
||||||
<!-- start of posts -->
|
<!-- start of post -->
|
||||||
<div class="columns is-multiline is-centered">
|
<div class="column is-10">
|
||||||
<!-- start of post -->
|
<div class="card">
|
||||||
<div class="column is-10">
|
|
||||||
<div class="card">
|
|
||||||
|
|
||||||
<!-- post header -->
|
<!-- post header -->
|
||||||
<div class="card-content-header">
|
<div class="card-content-header">
|
||||||
<h4 class="title is-4 has-text-centered">{{ article.title }}</h4>
|
<h4 class="title is-4 has-text-centered">{{ article.title }}</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post header -->
|
<!-- end of post header -->
|
||||||
|
|
||||||
<!-- post content -->
|
<!-- post content -->
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="card-inner-wrapper">
|
<div class="card-inner-wrapper">
|
||||||
<!-- post text -->
|
<!-- post text -->
|
||||||
<div class="card-content-text has-text-justified">
|
<div class="card-content-text has-text-justified">
|
||||||
{{ article.content }}
|
{{ 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="{{ SOCIAL['gnusocial'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
|
||||||
<title>GNUSocial</title>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
|
||||||
<title>Diaspora</title>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
|
||||||
<title>Mastodom</title>
|
|
||||||
</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 %}
|
|
||||||
<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 %}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- end of post footer nav -->
|
|
||||||
</div>
|
|
||||||
<!-- end of post footer -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end of post text -->
|
||||||
|
|
||||||
|
<!-- post footer -->
|
||||||
|
<div class="card-content-footer-small">
|
||||||
|
<div class="navbar is-social-center">
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||||
|
<title>GNUSocial</title>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||||
|
<title>Diaspora</title>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||||
|
<title>Mastodom</title>
|
||||||
|
</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 %}
|
||||||
|
<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 %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- end of post footer nav -->
|
||||||
|
</div>
|
||||||
|
<!-- end of post footer -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post content -->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post -->
|
<!-- end of post content -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end of post column -->
|
<!-- end of post -->
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end of post column -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end of page content -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -8,121 +8,119 @@
|
|||||||
{% block title %}{% trans %}Autores de {{ SITENAME }}{% endtrans %}{% endblock %}
|
{% block title %}{% trans %}Autores de {{ SITENAME }}{% endtrans %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="main-content">
|
<div class="container">
|
||||||
<div class="container">
|
<!-- start of pages -->
|
||||||
<!-- start of pages -->
|
<div class="columns is-multiline is-centered">
|
||||||
<div class="columns is-multiline is-centered">
|
<!-- start of page -->
|
||||||
<!-- start of page -->
|
<div class="column is-7">
|
||||||
<div class="column is-7">
|
<div class="card">
|
||||||
<div class="card">
|
<!-- post header -->
|
||||||
<!-- post header -->
|
<div class="card-content-header">
|
||||||
<div class="card-content-header">
|
<h4 class="title is-4 has-text-centered">{{ _('Créditos') }}</h4>
|
||||||
<h4 class="title is-4 has-text-centered">{{ _('Créditos') }}</h4>
|
</div>
|
||||||
</div>
|
<!-- end of post header -->
|
||||||
<!-- end of post header -->
|
<!-- post content -->
|
||||||
<!-- post content -->
|
<div class="card-content">
|
||||||
<div class="card-content">
|
<div class="content">
|
||||||
<div class="content">
|
<div class="card-inner-wrapper">
|
||||||
<div class="card-inner-wrapper">
|
<!-- post text -->
|
||||||
<!-- post text -->
|
<div class="card-content-text has-text-justified">
|
||||||
<div class="card-content-text has-text-justified">
|
|
||||||
|
|
||||||
<h2>{{ _('Artículos') }}</h2>
|
<h2>{{ _('Artículos') }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{%- for author, articles in authors|sort %}
|
{%- for author, articles in authors|sort %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ SITEURL }}/{{ author.url }}"
|
<a href="{{ SITEURL }}/{{ author.url }}"
|
||||||
title="{% trans %}Artículos escritos por {{ author }}{% endtrans %}">{{ author }}</a>
|
title="{% trans %}Artículos escritos por {{ author }}{% endtrans %}">{{ author }}</a>
|
||||||
({{ articles|count }})
|
({{ articles|count }})
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>{{ _('Programación') }}</h2>
|
<h2>{{ _('Programación') }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://www.freakspot.net/" title="{{ _('Sitio para gente Libre') }}">Jorge Maldonado Ventura</a></li>
|
<li><a href="https://www.freakspot.net/" title="{{ _('Sitio para gente Libre') }}">Jorge Maldonado Ventura</a></li>
|
||||||
<li><a href="https://heckyel.ga/" title="{{ _('Sitio web de Jesús E.') }}">Jesús E.</a></li>
|
<li><a href="https://heckyel.ga/" title="{{ _('Sitio web de Jesús E.') }}">Jesús E.</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>{{ _('Traducción') }}</h2>
|
<h2>{{ _('Traducción') }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://rosenzweig.io/" title="{{ _('Sitio web de Alyssa Rosenzweig') }}">Alyssa Rosenzweig</a></li>
|
<li><a href="https://rosenzweig.io/" title="{{ _('Sitio web de Alyssa Rosenzweig') }}">Alyssa Rosenzweig</a></li>
|
||||||
<li>Jorge Maldonado Ventura</li>
|
<li>Jorge Maldonado Ventura</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>{{ _('Software que usa la página') }}</h2>
|
<h2>{{ _('Software que usa la página') }}</h2>
|
||||||
{% set software = (('https://nginx.org/', 'Nginx'),
|
{% set software = (('https://nginx.org/', 'Nginx'),
|
||||||
('http://babel.pocoo.org/', 'Babel'),
|
('http://babel.pocoo.org/', 'Babel'),
|
||||||
('https://pypi.org/project/beautifulsoup4/', 'BeautifulSoup4'),
|
('https://pypi.org/project/beautifulsoup4/', 'BeautifulSoup4'),
|
||||||
('https://nodejs.org/', 'nodejs'),
|
('https://nodejs.org/', 'nodejs'),
|
||||||
('https://www.python.org/', 'Python'),
|
('https://www.python.org/', 'Python'),
|
||||||
('https://blog.getpelican.com/', 'Pelican'),
|
('https://blog.getpelican.com/', 'Pelican'),
|
||||||
('https://pypi.org/project/Markdown/', 'Markdown'),
|
('https://pypi.org/project/Markdown/', 'Markdown'),
|
||||||
('https://nodejs.org/', 'nodejs'),
|
('https://nodejs.org/', 'nodejs'),
|
||||||
('https://www.npmjs.com/', 'npm'),
|
('https://www.npmjs.com/', 'npm'),
|
||||||
('https://github.com/fmarcia/UglifyCSS', 'uglifycss'),
|
('https://github.com/fmarcia/UglifyCSS', 'uglifycss'),
|
||||||
('https://github.com/mishoo/UglifyJS', 'uglifyjs'),
|
('https://github.com/mishoo/UglifyJS', 'uglifyjs'),
|
||||||
('https://conocimientoslibres.tuxfamily.org/pages/librejs.html', _('Algunos programas de JavaScript'),)) %}
|
('https://conocimientoslibres.tuxfamily.org/pages/librejs.html', _('Algunos programas de JavaScript'),)) %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for program in software %}
|
{% for program in software %}
|
||||||
<li><a href="{{ program[0] }}" title="{{ _('Sitio web de %(programa)s', programa=program[1]) }}"></a>{{ program[1] }}</li>
|
<li><a href="{{ program[0] }}" title="{{ _('Sitio web de %(programa)s', programa=program[1]) }}"></a>{{ program[1] }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<h2>{{ _('Miscelánea') }}</h2>
|
<h2>{{ _('Miscelánea') }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>CitoplasmaC</li>
|
<li>CitoplasmaC</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- end of post text -->
|
|
||||||
|
|
||||||
<!-- post footer -->
|
|
||||||
<div class="card-content-footer-small">
|
|
||||||
<div class="navbar is-social-center">
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
|
||||||
<title>GNUSocial</title>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
|
||||||
<title>Diaspora</title>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
|
||||||
<title>Mastodom</title>
|
|
||||||
</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>
|
|
||||||
<!-- end of post footer -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end of post text -->
|
||||||
|
|
||||||
|
<!-- post footer -->
|
||||||
|
<div class="card-content-footer-small">
|
||||||
|
<div class="navbar is-social-center">
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||||
|
<title>GNUSocial</title>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||||
|
<title>Diaspora</title>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||||
|
<title>Mastodom</title>
|
||||||
|
</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>
|
||||||
|
<!-- end of post footer -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end page content -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end page content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end of page -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end of pages -->
|
<!-- end of page -->
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end of pages -->
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -29,89 +29,85 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="container">
|
||||||
<div class="main-content">
|
<!-- start of pages -->
|
||||||
<div class="container">
|
<div class="columns is-multiline is-centered">
|
||||||
<!-- start of pages -->
|
<!-- start of page -->
|
||||||
<div class="columns is-multiline is-centered">
|
<div class="column is-7">
|
||||||
<!-- start of page -->
|
<div class="card">
|
||||||
<div class="column is-7">
|
<!-- post header -->
|
||||||
<div class="card">
|
<div class="card-content-header">
|
||||||
<!-- post header -->
|
<h4 class="title is-4 has-text-centered">{{ page.title }}</h4>
|
||||||
<div class="card-content-header">
|
</div>
|
||||||
<h4 class="title is-4 has-text-centered">{{ page.title }}</h4>
|
<!-- end of post header -->
|
||||||
</div>
|
<!-- post content -->
|
||||||
<!-- end of post header -->
|
<div class="card-content">
|
||||||
<!-- post content -->
|
<div class="content">
|
||||||
<div class="card-content">
|
<div class="card-inner-wrapper">
|
||||||
<div class="content">
|
<!-- post text -->
|
||||||
<div class="card-inner-wrapper">
|
<div class="card-content-text has-text-justified">
|
||||||
<!-- post text -->
|
{{ page.content }}
|
||||||
<div class="card-content-text has-text-justified">
|
|
||||||
{{ page.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="{{ SOCIAL['gnusocial'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
|
||||||
<title>GNUSocial</title>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
|
||||||
<title>Diaspora</title>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
|
|
||||||
<span class="soumaicon">
|
|
||||||
<svg>
|
|
||||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
|
||||||
<title>Mastodom</title>
|
|
||||||
</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#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>
|
||||||
|
<!-- end of post text -->
|
||||||
|
|
||||||
|
<!-- post footer -->
|
||||||
|
<div class="card-content-footer-small">
|
||||||
|
<div class="navbar is-social-center">
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
|
||||||
|
<title>GNUSocial</title>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
|
||||||
|
<title>Diaspora</title>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
|
||||||
|
<span class="soumaicon">
|
||||||
|
<svg>
|
||||||
|
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
|
||||||
|
<title>Mastodom</title>
|
||||||
|
</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#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>
|
</div>
|
||||||
<!-- end page content -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end page content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end of page -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end of pages -->
|
<!-- end of page -->
|
||||||
</div>
|
</div>
|
||||||
|
<!-- end of pages -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,47 +1,44 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="main-content">
|
<div class="container">
|
||||||
<div class="container">
|
<!-- start of posts -->
|
||||||
<!-- start of posts -->
|
<div class="columns is-multiline is-centered">
|
||||||
<div class="columns is-multiline is-centered">
|
<!-- start of post -->
|
||||||
<!-- start of post -->
|
<div class="column is-10">
|
||||||
<div class="column is-10">
|
<div class="card">
|
||||||
<div class="card">
|
|
||||||
|
|
||||||
<div class="card-content-header">
|
<div class="card-content-header">
|
||||||
<h4 class="title is-4 has-text-centered">
|
<h4 class="title is-4 has-text-centered">
|
||||||
{% set len_period = period|length %}
|
{% set len_period = period|length %}
|
||||||
{%- if len_period == 1 -%}
|
{%- if len_period == 1 -%}
|
||||||
{{ _('Archivos de %(año)d', año=period[0]) }}
|
{{ _('Archivos de %(año)d', año=period[0]) }}
|
||||||
{%- elif len_period == 2 -%}
|
{%- elif len_period == 2 -%}
|
||||||
{{ _('Archivos de %(mes)s de %(año)d', año=period[0], mes=period[1]) }}
|
{{ _('Archivos de %(mes)s de %(año)d', año=period[0], mes=period[1]) }}
|
||||||
{%- elif len_period == 3 -%}
|
{%- 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]) }}
|
{{ _('Archivos del %(dia)d de %(mes)s de %(año)d', año=period[0], mes=period[1], dia=period[2]) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="card-inner-wrapper">
|
<div class="card-inner-wrapper">
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<dl>
|
<dl>
|
||||||
{% for article in dates %}
|
{% for article in dates %}
|
||||||
<dt>{{ article.date|strftime('%A %-d de %B de %Y a las %H:%M %z') }}</dt>
|
<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>
|
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user