66 lines
2 KiB
Twig
Executable file
66 lines
2 KiB
Twig
Executable file
{% set author = authors[page.header.aura.author] %}
|
|
{% if author %}
|
|
{% set social = [
|
|
'linkedin',
|
|
'youtube',
|
|
'facebook',
|
|
'instagram',
|
|
'pinterest',
|
|
'envelope',
|
|
'mastodon',
|
|
'matrix-org',
|
|
'gitea',
|
|
'github',
|
|
'globe',
|
|
] %}
|
|
<div class="author-bio">
|
|
<p class="author-heading">Über den Autor</p>
|
|
<hr/>
|
|
{% if author.image %}
|
|
{{ media['user://images/' ~ author.image|first.name].html('', author.name, 'author-image') }}
|
|
{% endif %}
|
|
<div class="author-text">
|
|
<div>
|
|
<div class="author-name">
|
|
<p>{{ author.name }}</p>
|
|
</div>
|
|
<div class="author-social">
|
|
<ul>
|
|
{% if author['person-envelope-user'] %}
|
|
<li>
|
|
<a href="mailto:{{ author['person-envelope-user'] }}">
|
|
<i class="fa fa-at"></i>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% for item in social %}
|
|
{% set href = author['person-' ~ item ~ '-url'] %}
|
|
{% if href %}
|
|
{# <li><a href="{{ href }}" target="_blank"><span class="aura-icon-{{ item }}"></span></a></li> #}
|
|
<li>
|
|
<a href="{{ href }}" target="_blank">
|
|
<i class="fa fa-{{ item }}"></i>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% if author['person-twitter-user'] %}
|
|
<li>
|
|
<a href="https://twitter.com/{{ author['person-twitter-user'] }}" target="_blank">
|
|
<i class="aura-icon-twitter"></i>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
<div class="clear-right"></div>
|
|
</div>
|
|
<div class="author-description">
|
|
<p>Ich bin ein langjähriger Nutzer und Enthusiast von Open-Source-Software und vertrete die Philosophie, dass Softwarecode offen (lesbar) sein sollte. Damit jeder sehen kann, was hinter den Kulissen passiert, während wir jeden Tag unsere elektronischen Geräte benutzen.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% if config.plugins['aura-authors']['include-css'] %}
|
|
{% do assets.addCss('user://plugins/aura-authors/assets/style.min.css') %}
|
|
{% endif %}
|
|
{% endif %}
|