setto.basspistol.com/_includes/author.html

41 lines
2.3 KiB
HTML
Raw Normal View History

2020-07-24 14:34:09 +02:00
{% assign author_id = page.author | prepend: "/authors/" | append: "/" %}
{% assign author = site.authors | where: "url", author_id | first %}
2020-08-03 21:40:11 +02:00
<div id="author">
2020-07-24 14:34:09 +02:00
<div class="bio">
2020-08-03 21:40:11 +02:00
{% if page.collection == 'posts' %}
<div class="author-image" alt="Picture of {{ author.name }}" style="background-image:url({{ author.image }});">
</div>
<br />
<p><a href="mailto:{{ author.email }}"><strong>{{ author.name }}</strong></a></p>
<p>{{ author.position }}{% if author.gpg != nil %} | <a target="_blank" rel="noopener"
href="{{ author.gpg }}">GPG</a>{% endif %}</p>
<p class="date">
Published the
{% include dates.html %}
</p>
{% endif %}
<h6>
2020-07-24 14:34:09 +02:00
2020-08-03 21:40:11 +02:00
Share this page:
</h6>
<ul>
<a target="_blank" rel="nofollow noopener" title="Share to facebook" alt="Share to facebook"
2020-10-08 13:16:18 +02:00
href="https://touch.facebook.com/sharer.php?u={{ site.url }}{{ page.url | xml_escape }}&quest;pk_campaign=home&amp;pk_medium=share&amp;quote={{ page.description | xml_escape }}%20by%20{{ site.title xml_escape }}%20via%20{{ site.url }}"
2020-08-03 21:40:11 +02:00
class="icon smaller fab fa-facebook-f"><span class="label">Facebook</span></a>
<a target="_blank" rel="nofollow noopener" title="Share to twitter" alt="Share to twitter"
2020-10-08 13:16:18 +02:00
href="https://twitter.com/share?url={{ site.url }}{{ page.url | xml_escape }}&quest;pk_campaign=home&amp;pk_medium=share&amp;text={{ page.description | xml_escape }}%20via%20&#64;tosettosetto%20&amp;hashtags=tosettosetto"
2020-08-03 21:40:11 +02:00
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"
2020-10-08 13:16:18 +02:00
href="https://telegram.me/share/url?url={{ site.url }}{{ page.url }}&quest;pk_campaign=home&amp;pk_medium=share&amp;text={{ page.description | xml_escape }}%20via%20&#64;tosettosetto"
2020-08-03 21:40:11 +02:00
class="icon smaller fab fa-telegram"><span class="label ">Telegram</span></a>
<a target="_blank" rel="nofollow noopener" title="Share to reddit" alt="Share to reddit"
2020-10-08 13:16:18 +02:00
href="https://reddit.com/submit/?url={{ site.url }}{{ page.url }}&quest;pk_campaign=home&amp;pk_medium=share&amp;title={{ page.description | xml_escape }}%20by%20{{ site.title xml_escape }}"
2020-08-03 21:40:11 +02:00
class="icon smaller fab fa-reddit"><span class="label">Reddit</span></a>
</ul>
2020-07-24 14:34:09 +02:00
2020-08-03 21:40:11 +02:00
</div>
</div>