Ajustes de estilo del listado de artículos candidatos

This commit is contained in:
alay 2017-12-03 13:48:38 +01:00
parent b49c2e1578
commit a72b27a18e

View file

@ -19,19 +19,12 @@
{% endif %} {% endif %}
<figcaption style="height: 70px;"> <figcaption style="height: 70px;">
<div class="col-md-8 col-xs-8 text-left"> <div class="col-md-8 col-xs-8 text-left">
<h2 class="name" style="margin-top: 0; font-size: 1em;"> <h2 class="name">
{{ article.title }} {{ article.title | truncatewords: 7 }}
</h2> </h2>
<p class="name"> <p class="name">
{% for autor in article.autores %} {% for autor in article.autores %}
{{autor.nombre}} {{autor.nombre}}
{% if autor.twitter != null %}
<a href="{{ autor.twitter }}" target="_blank">
<svg class="icon icon-twitter" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-twitter"></use>
</svg>
</a>
{% endif %}
{% endfor %} {% endfor %}
</p > </p >
<div class="clearfix"></div> <div class="clearfix"></div>
@ -43,6 +36,15 @@
</svg> </svg>
</a> </a>
{% endif %} {% endif %}
{% for autor in article.autores %}
{% if autor.twitter != null %}
<a href="{{ autor.twitter }}" target="_blank">
<svg class="icon icon-twitter" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-twitter"></use>
</svg>
</a>
{% endif %}
{% endfor %}
</figcaption> </figcaption>
<p class="bio" style="background-color: rgba(0, 0, 0, 0.3); height: auto;" > <p class="bio" style="background-color: rgba(0, 0, 0, 0.3); height: auto;" >
{{ article.details }} {{ article.details }}