-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNatürlich.SH Team-Seite
62 lines (53 loc) · 1.92 KB
/
Natürlich.SH Team-Seite
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{#
See it working here: https://www.natuerlich-sh.de/stammbesetzung/
I use free text for each contributor and call the template for every which one like this:
[podlove-template template="EinzelContributor" id="gesche" show_name="yes" social="yes" donations="yes"]
#}
{% if option.avatar_size %}
{% set avatar_size = option.avatar_size %}
{% else %}
{% set avatar_size = '128' %}
{% endif %}
<div class="contributor-profile">
{% set contributor = podcast.contributors({scope: "global", id: option.id}) %}
{% if contributor %}
{{ contributor.image.html({ width: avatar_size, title: contributor.name, alt: contributor.name }) }}
{%if option.show_name == "yes" %}
<br/>
<p class="ContributorName">{{ contributor.name }}</p>
{% endif %}
{% if option.social == "yes" %}
{% for service in contributor.services({category: "social"}) %}
<a target="_blank" title="{{ service.title }}" href="{{ service.profileUrl }}" style="color: white">
{{ service.image.html({width: 20, heigth: 20, alt: service.name, class: contributor-service}) }}
</a>
{% endfor %}
{% endif %}
{% if option.donations == "yes" %}
<br />
{% for service in contributor.services({category: "donation"}) %}
<a target="_blank" title="{{ service.title }}" href="{{ service.profileUrl }}" style="color: white">
{{ service.image.html({width: 20, heigth: 20, alt: service.name, class: contributor-service}) }}
</a>
{% endfor %}
{% endif %}
{% endif %}
</div>
<style>
.contributor-profile {
float:right;
margin-left: 20px;
font-family: Kanit;
margin-bottom: 80px;
}
.ContributorName {
margin-top: -10px;
margin-bottom: 10px;
font-family: Kanit;
font-weight: bold;
}
.contributor-service {
margin-top: 18px;
margin-right: 3px;
}
</style>