34 lines
959 B
HTML
Raw Normal View History

2016-05-26 17:04:57 +02:00
{% set image = Image(section.image) %}
{{ image.copy() }}
<div class="author-meta">
<img src={{ image.generate_thumbnail("200x200") }} alt="" class="circle">
<div>
<span class=author-info>Story by
<h4>{{ section.name }}</h4>
{% if section.text %}
2016-05-26 22:08:55 +02:00
<p class=desc>{{ section.text }}</p>
2016-05-26 17:04:57 +02:00
{% endif %}
</span>
</div>
<div class="separator"></div>
<div>
{% if section.twitter %}
<span>
<a href="http://twitter.com/{{ section.twitter }}">Twitter</a>
</span>
<span> | </span>
{% endif %}
{% if section.facebook %}
<span>
<a href="http://facebook.com/{{ section.facebook }}">Facebook</a>
</span>
<span> | </span>
{% endif %}
{% if section.website %}
<span>
<a href="{{ section.sebsite }}">{{ section.website }}</a>
</span>
{% endif %}
</div>
</div>