Adrien Beudin f3e94496a8 Revert "fix author section"
This reverts commit 5b5cff0c2e45f2462dbf39c1c5fc4ad303644413.
2016-04-10 17:43:00 +02:00

34 lines
955 B
HTML

{% set image = Image(section.image) %}
{{ image.copy() }}
<div class="author">
<img src={{ image.generate_thumbnail("200x200") }} alt="" class="circle">
<div>
<span class=author-meta>Story by</span>
<h4>{{ section.name }}</h4>
{% if section.text %}
<div class=desc>{{ section.text }}</div>
{% endif %}
</div>
<div class="separator"></div>
<div>
{% if section.twitter %}
<span>
<a href="http://facebook.com/{{ section.twitter }}">Facebook</a>
</span>
<span> | </span>
{% endif %}
{% if section.facebook %}
<span>
<a href="http://twitter.com/{{ section.twitter }}">Twitter</a>
</span>
<span> | </span>
{% endif %}
{% if section.website %}
<span>
<a href="{{ section.sebsite }}">{{ section.website }}</a>
</span>
{% endif %}
</div>
</div>
</div>