{% assign author = site.authors | where: "name", page.author | first %} {% if author %}
{% if author.photo %} {{ author.display_name }} {% else %} {{ author.display_name }} {% endif %}

{{ site.translations.text.author | default: "Author" }}

{{ author.display_name }}

{{ author.bio }}

{% if author.github_username %} {% endif %} {% if author.facebook_username %} {% endif %} {% if author.twitter_username %} {% endif %} {% if author.medium_username %} {% endif %} {% if author.instagram_username %} {% endif %} {% if author.linkedin_username %} {% endif %}

{% assign author_urls = '' %} {% if author.github_username %} {% assign author_urls = author_urls | append: '"https://github.com/' | append: author.github_username | append: '",' %} {% endif %} {% if author.facebook_username %} {% assign author_urls = author_urls | append: '"https://www.facebook.com/' | append: author.facebook_username | append: '",' %} {% endif %} {% if author.twitter_username %} {% assign author_urls = author_urls | append: '"https://twitter.com/' | append: author.twitter_username | append: '",' %} {% endif %} {% if author.medium_username %} {% assign author_urls = author_urls | append: '"https://medium.com/@' | append: author.medium_username | append: '",' %} {% endif %} {% if author.instagram_username %} {% assign author_urls = author_urls | append: '"https://www.instagram.com/' | append: author.instagram_username | append: '",' %} {% endif %} {% if author.linkedin_username %} {% assign author_urls = author_urls | append: '"https://www.linkedin.com/in/' | append: author.linkedin_username | append: '",' %} {% endif %} {% endif %}