basspistol.com/_includes/author.html

38 lines
2.6 KiB
HTML
Raw Normal View History

2020-09-08 18:07:38 +02:00
{% assign author_id = page.author | prepend: "/authors/" | append: "/" %}
{% assign author = site.authors | where: "url", author_id | first %}
<div id="author">
2020-07-09 10:15:00 +02:00
<div class="bio">
2020-09-08 18:07:38 +02:00
{% if page.collection == 'posts' %}
<div class="author-image" alt="Picture of {{ author.name }}" style="background-image:url({{ author.image }});">
</div>
<br />
2020-10-14 13:31:40 +02:00
<p><a href="mailto:{{ author.email }}"><strong>{{ author.name }}</strong></a>
<br />{{ author.position }}{% if author.gpg != nil %} | <a target="_blank" rel="noopener"
href="{{ author.gpg }}">GPG</a>{% endif %}<br />
{% if author.blurb_markup %}{{ author.blurb_markup }}{% endif %}
</p>
2020-09-08 18:07:38 +02:00
<p class="date">
Published the
2020-10-14 14:02:46 +02:00
<time datetime="{{ page.date }}">{% include dates.html %}</time>
2020-09-08 18:07:38 +02:00
</p>
{% endif %}
<h5>
2020-07-09 10:15:00 +02:00
2020-09-08 18:07:38 +02:00
Share this page:
</h5>
2020-09-08 18:07:38 +02:00
<ul>
2020-10-14 13:35:41 +02:00
<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 }}&quest;pk_campaign=homeshare&amp;quote={{ page.description | xml_escape }}%20By%20{{ site.title | xml_escape }}%20via%20{{ site.url }}" class="icon smaller fab fa-facebook-f"><span class="label">Facebook</span></a>
2020-10-16 13:01:09 +02:00
<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 }}&quest;pk_campaign=homeshare&amp;text={{ page.description | xml_escape }}%20via%20&#64;{{ site.social.usernames.twitter }}%20&amp;hashtags=#{{ site.social.hashtag }}" class="icon smaller fab fa-twitter"><span class="label">Twitter</span></a>
<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 }}&quest;pk_campaign=homeshare&amp;text={{ page.description | xml_escape }}%20via%20&#64;{{ site.social.usernames.telegram }}" class="icon smaller fab fa-telegram"><span class="label ">Telegram</span></a>
2020-10-14 13:35:41 +02:00
<a target="_blank" rel="nofollow noopener" title="Share to reddit" alt="Share to reddit" href="https://reddit.com/submit/?url={{ site.url }}{{ page.url }}&quest;pk_campaign=homeshare&amp;title={{ page.description | xml_escape }}%20By%20{{ site.title | xml_escape }}" class="icon smaller fab fa-reddit"><span class="label">Reddit</span></a>
</ul><br />
2020-11-29 19:37:46 +01:00
<a href="#support" class="button">💸 Support</a><br />
2020-10-22 11:51:32 +02:00
{% unless page.url == '/radio/' %}
2020-10-20 13:17:33 +02:00
<a href="{{ relBase }}/chat/#read" target="_blank" class="button">📢 Chat</a>
2020-10-22 11:47:44 +02:00
{% endunless %}
2020-11-29 19:37:46 +01:00
2020-09-08 18:07:38 +02:00
</div>
</div>