replace FontIcons for SVGIcons

This commit is contained in:
Jesús 2019-03-07 12:07:04 -05:00
parent 7b505891bf
commit c502c88757
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
12 changed files with 925 additions and 749 deletions

View File

@ -1,11 +1,24 @@
/* github.com/plasticneko */
/* bulma css framework (github.com/jgthms | bulma.io)
Author: jeremy thomas
Author: jesus e.
*/
/*!
* bulma css framework (github.com/jgthms | bulma.io)
* Author: jeremy thomas
* Author: jesus e.
* Licensed under MIT (https://github.com/jgthms/bulma/blob/master/LICENSE)
*/
/* basic formatting changes (mostly to cater for darker colours) */
/* latin */
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 400;
src: local("Roboto Condensed"), local("RobotoCondensed-Regular"), url(../fonts/roboto/roboto-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* html/body/font-fixes */
body, input, textarea, .button {
font-family: 'Roboto Condensed', Nimbus Sans, sans-serif;
}
/* Colores */
/* ------------- Menu Mobile sin JS ---------------- */
/* input hidden */
#navbar-toggle-cbox {
@ -20,87 +33,54 @@ label[for=navbar-toggle-cbox] {
display: block;
}
/* ------------ End Menu Mobile sin JS ------------- */
/* ------------------- codehilite ------------------ */
.highlight pre {
font-size: 75%;
/*- ----------- End Menu Mobile sin JS ------------- */
/* navigation */
.navbar {
background-color: #0c0f0f;
}
.navbar a {
color: whitesmoke;
}
.navbar.is-social-center {
align-items: stretch;
background-color: transparent;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-grow: 0;
flex-shrink: 0;
justify-content: center;
margin-left: auto;
margin-right: auto;
-webkit-box-align: stretch;
-webkit-box-pack: center;
-webkit-box-flex: 0;
-ms-flex-pack: center;
-ms-flex-align: stretch;
-ms-flex-negative: 0;
-ms-flex-positive: 0;
}
.navbar.is-social-center > a.navbar-item {
color: #4a4a4a;
background-color: transparent;
}
.navbar.is-social-center > a.navbar-item:hover {
color: #dd7325;
}
/* main-header */
.main-header {
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
}
.main-header .title {
color: whitesmoke;
}
.main-header .subtitle {
color: #dd7325;
}
.main-header .hero {
background-color: #161c1c;
}
.highlight .hll { background-color: #222222 }
.highlight { background: #000000; color: #cccccc }
.highlight .c { color: #4E4F8E } /* Comment */
.highlight .err { color: #cccccc; border: 1px solid #FF0000 } /* Error */
.highlight .esc { color: #cccccc } /* Escape */
.highlight .g { color: #cccccc } /* Generic */
.highlight .k { color: #cdcd00 } /* Keyword */
.highlight .l { color: #cccccc } /* Literal */
.highlight .n { color: #cccccc } /* Name */
.highlight .o { color: #3399cc } /* Operator */
.highlight .x { color: #cccccc } /* Other */
.highlight .p { color: #fac0ba } /* Punctuation */
.highlight .ch { color: #4E4F8E } /* Comment.Hashbang */
.highlight .cm { color: #4E4F8E } /* Comment.Multiline */
.highlight .cp { color: #4E4F8E } /* Comment.Preproc */
.highlight .cpf { color: #4E4F8E } /* Comment.PreprocFile */
.highlight .c1 { color: #4E4F8E } /* Comment.Single */
.highlight .cs { color: #cd0000; font-weight: bold } /* Comment.Special */
.highlight .gd { color: #cd0000 } /* Generic.Deleted */
.highlight .ge { color: #cccccc; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #4E4F8E; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00cd00 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #4E4F8E; font-weight: bold } /* Generic.Prompt */
.highlight .gs { color: #cccccc; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #cdcd00 } /* Keyword.Constant */
.highlight .kd { color: #00cd00 } /* Keyword.Declaration */
.highlight .kn { color: #cd00cd } /* Keyword.Namespace */
.highlight .kp { color: #cdcd00 } /* Keyword.Pseudo */
.highlight .kr { color: #cdcd00 } /* Keyword.Reserved */
.highlight .kt { color: #00cd00 } /* Keyword.Type */
.highlight .ld { color: #cccccc } /* Literal.Date */
.highlight .m { color: #cd00cd } /* Literal.Number */
.highlight .s { color: #cd0000 } /* Literal.String */
.highlight .na { color: #cccccc } /* Name.Attribute */
.highlight .nb { color: #cd00cd } /* Name.Builtin */
.highlight .nc { color: #00cdcd } /* Name.Class */
.highlight .no { color: #cccccc } /* Name.Constant */
.highlight .nd { color: #cccccc } /* Name.Decorator */
.highlight .ni { color: #cccccc } /* Name.Entity */
.highlight .ne { color: #666699; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #cccccc } /* Name.Function */
.highlight .nl { color: #cccccc } /* Name.Label */
.highlight .nn { color: #cccccc } /* Name.Namespace */
.highlight .nx { color: #cccccc } /* Name.Other */
.highlight .py { color: #cccccc } /* Name.Property */
.highlight .nt { color: orange } /* Name.Tag */
.highlight .nv { color: #00cdcd } /* Name.Variable */
.highlight .ow { color: #cdcd00 } /* Operator.Word */
.highlight .w { color: #cccccc } /* Text.Whitespace */
.highlight .mb { color: #cd00cd } /* Literal.Number.Bin */
.highlight .mf { color: #cd00cd } /* Literal.Number.Float */
.highlight .mh { color: #cd00cd } /* Literal.Number.Hex */
.highlight .mi { color: #cd00cd } /* Literal.Number.Integer */
.highlight .mo { color: #cd00cd } /* Literal.Number.Oct */
.highlight .sb { color: #cd0000 } /* Literal.String.Backtick */
.highlight .sc { color: #cd0000 } /* Literal.String.Char */
.highlight .sd { color: #cd0000 } /* Literal.String.Doc */
.highlight .s2 { color: #cd0000 } /* Literal.String.Double */
.highlight .se { color: #cd0000 } /* Literal.String.Escape */
.highlight .sh { color: #cd0000 } /* Literal.String.Heredoc */
.highlight .si { color: #cd0000 } /* Literal.String.Interpol */
.highlight .sx { color: #cd0000 } /* Literal.String.Other */
.highlight .sr { color: #cd0000 } /* Literal.String.Regex */
.highlight .s1 { color: #cd0000 } /* Literal.String.Single */
.highlight .ss { color: #cd0000 } /* Literal.String.Symbol */
.highlight .bp { color: #cd00cd } /* Name.Builtin.Pseudo */
.highlight .vc { color: #00cdcd } /* Name.Variable.Class */
.highlight .vg { color: #00cdcd } /* Name.Variable.Global */
.highlight .vi { color: #00cdcd } /* Name.Variable.Instance */
.highlight .il { color: #cd00cd } /* Literal.Number.Integer.Long */
/* ----------------- End codehilite ---------------- */
code {
background-color: #282828;
@ -125,60 +105,6 @@ video {
height: auto;
}
a.pagination-previous.disabled,
a.pagination-next.disabled {
background: #0c0f0f;
color: white;
cursor: not-allowed;
border-color: #dbdbdb;
box-shadow: none;
color: #7a7a7a;
opacity: .5;
}
.content blockquote {
background: black;
color: white;
border-left: 4px solid #dbdbdb;
margin: 1.5rem 1rem;
padding: 1.5rem 1rem;
}
.content blockquote p {
display: contents;
}
.content blockquote:before {
opacity: 0.5;
content: open-quote;
font-size: 4rem;
line-height: .1em;
margin-right: .25em;
vertical-align: -0.4em;
}
*, *:after, *:before, legend {
box-sizing: border-box;
}
.content dl,
.content dt,
.content dd {
color: white;
}
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
color: white;
}
.content.social{
margin-bottom: 0rem;
}
.is-cyan {
color: #0dd3ff;
}
@ -187,127 +113,171 @@ a.pagination-next.disabled {
display: table;
}
.pagination-list {
margin-bottom: 1.5rem;
/* Colors Code */
.highlight {
background: #000000;
color: #cccccc;
}
.highlight pre {
font-size: 75%;
}
.highlight .hll {
background-color: #222222;
}
.highlight .c {
color: #4E4F8E;
}
.highlight .err {
color: #cccccc;
border: 1px solid #FF0000;
}
.highlight .esc, .highlight .g {
color: #cccccc;
}
.highlight .k {
color: #cdcd00;
}
.highlight .l, .highlight .n {
color: #cccccc;
}
.highlight .o {
color: #3399cc;
}
.highlight .x {
color: #cccccc;
}
.highlight .p {
color: #fac0ba;
}
.highlight .ch, .highlight .cm, .highlight .cp, .highlight .cpf, .highlight .c1 {
color: #4E4F8E;
}
.highlight .cs {
color: #cd0000;
font-weight: bold;
}
.highlight .gd {
color: #cd0000;
}
.highlight .ge {
color: #cccccc;
font-style: italic;
}
.highlight .gr {
color: #FF0000;
}
.highlight .gh {
color: #4E4F8E;
font-weight: bold;
}
.highlight .gi {
color: #00cd00;
}
.highlight .go {
color: #888888;
}
.highlight .gp {
color: #4E4F8E;
font-weight: bold;
}
.highlight .gs {
color: #cccccc;
font-weight: bold;
}
.highlight .gu {
color: #800080;
font-weight: bold;
}
.highlight .gt {
color: #0044DD;
}
.highlight .kc {
color: #cdcd00;
}
.highlight .kd {
color: #00cd00;
}
.highlight .kn {
color: #cd00cd;
}
.highlight .kp, .highlight .kr {
color: #cdcd00;
}
.highlight .kt {
color: #00cd00;
}
.highlight .ld {
color: #cccccc;
}
.highlight .m {
color: #cd00cd;
}
.highlight .s {
color: #cd0000;
}
.highlight .na {
color: #cccccc;
}
.highlight .nb {
color: #cd00cd;
}
.highlight .nc {
color: #00cdcd;
}
.highlight .no, .highlight .nd, .highlight .ni {
color: #cccccc;
}
.highlight .ne {
color: #666699;
font-weight: bold;
}
.highlight .nf, .highlight .nl, .highlight .nn, .highlight .nx, .highlight .py {
color: #cccccc;
}
.highlight .nt {
color: orange;
}
.highlight .nv {
color: #00cdcd;
}
.highlight .ow {
color: #cdcd00;
}
.highlight .w {
color: #cccccc;
}
.highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo {
color: #cd00cd;
}
.highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sr, .highlight .s1, .highlight .ss {
color: #cd0000;
}
.highlight .bp {
color: #cd00cd;
}
.highlight .vc, .highlight .vg, .highlight .vi {
color: #00cdcd;
}
.highlight .il {
color: #cd00cd;
}
/* html/body/font-fixes */
body, input, textarea, .button {
font-family: 'Roboto Condensed', Nimbus Sans, sans-serif;
.soumaicon {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-ms-flex-line-pack: center;
align-content: center;
}
.fa small {
font-family: 'Roboto Condensed', Nimbus Sans, sans-serif;
color: #7a7a7a;
.soumaicon svg {
width: .8rem;
height: .8rem;
fill: currentcolor;
}
/* button colouring */
.is-button-grey, .pagination-link {
background-color: #7a7a7a;
border-color: transparent;
color: rgba(0, 0, 0, 0.7);
}
.button:hover, .pagination .is-current, .pagination-link:hover {
background-color: #dd7325;
border-color: transparent;
color: whitesmoke;
}
.button:focus {
box-shadow: none;
border-color: transparent;
}
/* input select */
input:focus, textarea:focus, input[type]:focus {
box-shadow: 0 0 5px #719ECE;
border: 1px;
outline: none !important;
}
/* navigation */
.navbar {
background-color: #0c0f0f;
}
.navbar a {
color: whitesmoke;
}
.navbar.is-social-center{
align-items: stretch;
background-color: transparent;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-grow: 0;
flex-shrink: 0;
justify-content: center;
margin-left: auto;
margin-right: auto;
-webkit-box-align: stretch;
-webkit-box-pack: center;
-webkit-box-flex: 0;
-ms-flex-pack: center;
-ms-flex-align: stretch;
-ms-flex-negative: 0;
-ms-flex-positive: 0;
}
.navbar.is-social-center > a.navbar-item {
color: #4a4a4a;
background-color: transparent;
}
.navbar.is-social-center > a.navbar-item:hover {
color: #dd7325;
}
a {
color: #0099e5;
}
a:hover {
text-decoration: none;
color: #dd7325;
}
a.navbar-item.is-tab.is-active {
border-bottom-color: #dd7325;
border-width: 2px;
color: whitesmoke;
}
a.navbar-item.is-tab:hover {
border-bottom-color: #dd7325;
border-width: 2px;
color: #dd7325;
}
a.navbar-item:hover {
color: #dd7325;
}
a.navbar-item:hover {
background-color: transparent;
}
/* main-header */
.main-header .title {
color: whitesmoke;
}
.main-header .subtitle {
color: #dd7325;
}
.main-header {
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
}
.main-header .hero {
background-color: #161c1c;
.soumaicon:hover svg {
fill: #dd7325;
}
/* main content styling */
@ -320,7 +290,6 @@ a.navbar-item:hover {
.card {
background-color: #161c1c;
}
.card .card-content-footer {
color: #7a7a7a;
}
@ -348,12 +317,10 @@ a.navbar-item:hover {
padding-bottom: 30px;
border-bottom: 1px solid #dd7325;
}
.card-content-text p {
color: whitesmoke;
font-size: 1em;
}
.card-content-text label {
color: whitesmoke;
font-weight: 100;
@ -382,7 +349,94 @@ a.navbar-item:hover {
padding-top: 20px;
}
/* pagination */
.content blockquote {
background: black;
color: white;
border-left: 4px solid #dbdbdb;
margin: 1.5rem 1rem;
padding: 1.5rem 1rem;
}
.content blockquote p {
display: contents;
}
.content blockquote:before {
opacity: 0.5;
content: open-quote;
font-size: 4rem;
line-height: .1em;
margin-right: .25em;
vertical-align: -0.4em;
}
* {
box-sizing: border-box;
}
*:after, *:before {
box-sizing: border-box;
}
legend {
box-sizing: border-box;
}
.content dl, .content dt, .content dd, .content h2, .content h3, .content h4, .content h5, .content h6 {
color: white;
}
.content.social {
margin-bottom: 0rem;
}
a {
color: #0099e5;
}
a:hover {
text-decoration: none;
}
a.navbar-item.is-tab.is-active {
border-bottom-color: #dd7325;
border-width: 2px;
color: whitesmoke;
}
a.navbar-item.is-tab:hover {
border-bottom-color: #dd7325;
border-width: 2px;
color: #dd7325;
}
a.navbar-item:hover {
color: #dd7325;
background-color: transparent;
}
a.pagination-previous.disabled, a.pagination-next.disabled {
background: #0c0f0f;
color: white;
cursor: not-allowed;
border-color: #dbdbdb;
box-shadow: none;
color: #7a7a7a;
opacity: .5;
}
.pagination-list {
margin-bottom: 1.5rem;
}
.is-button-grey, .pagination-link {
background-color: #7a7a7a;
border-color: transparent;
color: rgba(0, 0, 0, 0.7);
}
.button:hover, .pagination .is-current, .pagination-link:hover {
background-color: #dd7325;
border-color: transparent;
color: whitesmoke;
}
.button:focus {
box-shadow: none;
border-color: transparent;
}
.comments-content {
background-color: #161c1c;
padding-bottom: 10px;
@ -392,7 +446,18 @@ a.navbar-item:hover {
padding-top: 50px;
}
/* comments block */
.footer {
background-color: #0c0f0f;
color: whitesmoke;
}
.footer a {
color: #dd7325;
}
.footer-top-shadow {
box-shadow: 0 1px 3px rgba(10, 10, 10, 0.1);
}
.comments-wrapper {
padding: 25px;
}
@ -404,44 +469,25 @@ a.navbar-item:hover {
.comments-wrapper p {
color: whitesmoke;
}
.comments-wrapper small {
color: #7a7a7a;
}
.comments-wrapper strong {
color: whitesmoke;
font-weight: 100;
}
.comments-wrapper a {
color: #dd7325;
}
.comments-wrapper .media .media, .comments-wrapper .media + .media {
border-top: 1px solid #dd7325;
}
/* footer */
.footer {
background-color: #0c0f0f;
color: whitesmoke;
}
.footer a {
color: #dd7325;
}
.footer-top-shadow {
box-shadow: 0 1px 3px rgba(10, 10, 10, 0.1);
}
@media screen and (max-width: 1087px) {
.navbar-menu {
background-color: transparent;
}
}
@media screen and (max-width: 600px) {
.main-content {
padding: 0rem;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -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 %}

View File

@ -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 -->

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 -->

View File

@ -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>

View File

@ -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 %}

View File

@ -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 -->

View File

@ -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">

View File

@ -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 %}