basspistol.com/_includes/author.html

34 lines
2.4 KiB
HTML
Raw Normal View History

2020-07-09 11:33:40 +02:00
{% assign author_id = page.author | prepend: "/staff_members/" | append: "/" %}
{% assign author = site.staff_members | where: "url", author_id | first %}
2020-07-09 10:15:00 +02:00
<header id="author">
<div class="bio">
{% if page.collection == 'posts' %}
<div alt="Picture of {{ author.name }}"
2020-07-09 11:33:40 +02:00
style="margin-right: 10px;background-image:url({{ author.image }});background-repeat: no-repeat;background-size:cover; border-radius:150px; width:150px; height:150px;">
2020-07-09 10:15:00 +02:00
</div>
<br />
2020-07-09 11:33:40 +02:00
<p style="font-style: normal;"><a href="mailto:{{ author.email }}"><strong>{{ author.name }}</strong></a></p>
2020-07-10 11:46:11 +02:00
<p style="font-style: normal;">{{ author.position }}{% if author.gpg != nil %} | <a target="_blank" rel="noopener" href="{{ author.gpg }}">GPG</a>{% endif %}</p>
2020-07-09 10:15:00 +02:00
<p style="font-size:14px;font-style: normal;">
Published the
{% include dates.html %}
</p>
{% endif %}
<h6>
Share this page:
</h6>
<ul class="icons">
<li><a target="_blank" rel="nofollow noopener" title="Share to facebook" alt="Share to facebook" href="https://touch.facebook.com/sharer.php?u={{ site.url }}{{ page.url | xml_escape }}&amp;quote={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}%20via%20{{ site.url }}" class="icon brands style1 fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a target="_blank" rel="nofollow noopener" title="Share to twitter" alt="Share to twitter" href="https://twitter.com/share?url={{ site.url }}{{ page.url | xml_escape }}&amp;text={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}%20&amp;hashtags=paxNion" class="icon brands style1 fa-twitter"><span class="label">Twitter</span></a></li>
<li><a target="_blank" rel="nofollow noopener" title="Share to telegram" alt="Share to telgram" href="https://telegram.me/share/url?url={{ site.url }}{{ page.url }}&amp;text={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}" class="icon brands style1 fa-telegram"><span class="label">Telegram</span></a></li>
<li><a target="_blank" rel="nofollow noopener" title="Share to reddit" alt="Share to reddit" href="https://reddit.com/submit/?url={{ site.url }}{{ page.url }}&amp;title={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}" class="icon brands style1 fa-reddit"><span class="label">Reddit</span></a></li>
</ul>
2020-07-29 13:26:01 +02:00
{% if page.collection == 'tracks' %}
<a href="{{ relBase }}/albums/{{ page.albumSlug }}" class="button smaller"> Back to Album</a><br /><br />
{% endif %}
2020-07-09 10:15:00 +02:00
</div>
</header>