-
Notifications
You must be signed in to change notification settings - Fork 1
/
JSFP episodengast
30 lines (29 loc) · 1.5 KB
/
JSFP episodengast
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% if not is_feed() %} {# displays everything only on the blog #}
{% for contributor in episode.contributors({role: 'guest'}) %}
<div class="contributor-profile">
<strong><small>Mit dabei:</small></strong>
{{ contributor.image.html({width: 100, height: 100, alt: contributor.name, title: contributor.name}) }} <br />
<strong>{% if contributor.nickname %} "{{contributor.nickname }}" {% endif %}{{ contributor.name }}</strong><br />
<small><em>{% if contributor.comment %}{{ contributor.comment }}{% else %}{{ contributor.jobtitle }}{% endif %}</em></small><br /><br />
{% for service in contributor.services({category: "social"}) %}
<a target="_blank" title="{{ service.title }}" href="{{ service.profileUrl }}">
{{ service.image.html({width: 20, heigth: 20, alt: service.name}) }}
</a>
{% endfor %}
{% if contributor.services({category: "donation"})|length > 0 %}<br />
{% for service in contributor.services({category: "donation"}) %}
<a target="_blank" title="{{ service.title }}" href="{{ service.profileUrl }}">
{{ service.image.html({width: 20, heigth: 20, alt: service.name}) }}
</a>
{% endfor %}
{% endif %}
</div>
{% endfor %}
{% endif %}
<style>
.contributor-profile {
width: 150px;
float:right;
margin-left: 30px;
}
</style>