mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 20:51:22 +01:00
Ajustes de estilo del listado de artículos candidatos
This commit is contained in:
parent
b49c2e1578
commit
a72b27a18e
1 changed files with 13 additions and 11 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue