{%- if site.avatar != empty and site.avatar -%} {%- capture avatar_url -%} {% include media-url.html src=site.avatar %} {%- endcapture -%} avatar {%- endif -%} {{ site.title }}

{{ site.tagline }}

  • {{ site.data.locales[include.lang].tabs.home | upcase }}
  • {% for tab in site.tabs %}
  • {% capture tab_name %}{{ tab.url | split: '/' }}{% endcapture %} {{ site.data.locales[include.lang].tabs.[tab_name] | default: tab.title | upcase }}
  • {% endfor %}
{% unless site.theme_mode %} {% if site.data.contact.size > 0 %} {% endif %} {% endunless %} {% for entry in site.data.contact %} {% case entry.type %} {% when 'github', 'twitter' %} {%- capture url -%} https://{{ entry.type }}.com/{{ site[entry.type].username }} {%- endcapture -%} {% when 'email' %} {% assign email = site.social.email | split: '@' %} {%- capture url -%} javascript:location.href = 'mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@') {%- endcapture -%} {% when 'rss' %} {% assign url = '/feed.xml' | relative_url %} {% else %} {% assign url = entry.url %} {% endcase %} {% if url %} {% endif %} {% endfor %}