alterNERDtive.github.io/_layouts/sidebar.html

69 lines
3 KiB
HTML
Raw Normal View History

2019-01-25 17:35:18 +01:00
{% include header.html %}
2019-01-29 18:16:24 +01:00
<div class="d-md-flex" style="height: 100vh">
2019-01-29 18:53:31 +01:00
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-bottom border-md-none border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
2019-01-25 18:49:24 +01:00
<img src="{{ user.avatar_url }}" class="circle mb-3" style="max-width: 150px;">
2019-01-29 18:53:31 +01:00
<h1 class="{% if site.style == 'dark' %}text-white{% endif %} mb-2 lh-condensed">{% if user.name %}{{ user.name }}{% else %}{{ user.login }}{% endif %}</h1>
<p class="mb-3 f4 {% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %}">
{{ user.bio }}
2019-01-25 18:49:24 +01:00
</p>
<div class="f4 mb-6">
2019-01-29 18:16:24 +01:00
{% if user.name %}
<div class="d-flex flex-items-center mb-3">
2019-01-29 18:53:31 +01:00
{% octicon mark-github height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:GitHub %}
<a href="https://github.com/{{ user.login }}" {% if site.style == 'dark' %}class="text-white"{% endif %}>
2019-01-29 18:16:24 +01:00
@{{ user.login }}
</a>
</div>
{% endif %}
{% if user.email %}
<div class="d-flex flex-items-center mb-3">
2019-01-29 18:53:31 +01:00
{% octicon mail height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:email %}
<a href="mailto:{{ user.email }}" {% if site.style == 'dark' %}class="text-white"{% endif %}>
2019-01-29 18:16:24 +01:00
{{ user.email }}
</a>
</div>
{% endif %}
{% if user.location %}
2019-01-29 18:53:31 +01:00
<div class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %} mb-3">
{% octicon location height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Location %}
2019-01-29 18:16:24 +01:00
{{ user.location }}
</div>
{% endif %}
{% if user.hireable %}
<span title="Hire me" class="d-inline-block f5 rounded-2 text-white bg-green py-1 px-2">Available for hire</span>
{% endif %}
2019-01-25 18:49:24 +01:00
</div>
</div>
2019-01-25 19:53:35 +01:00
2019-01-29 18:16:24 +01:00
<div class="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7">
2019-01-25 19:53:35 +01:00
<div class="mx-auto" style="max-width: 900px;">
2019-01-30 16:13:22 +01:00
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
{% if page.is_post %}
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %}">
<p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
<h1 class="f00-light lh-condensed">{{ page.title }}</h1>
<p class="mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p>
{{ content }}
</div>
{% else %}
{{ content }}
{% endif %}
2019-01-25 19:43:22 +01:00
</div>
2019-01-30 16:13:22 +01:00
{% unless page.is_post %}
{% include projects.html %}
2019-01-29 18:53:31 +01:00
2019-01-30 16:13:22 +01:00
{% include interests.html %}
2019-01-29 21:27:18 +01:00
2019-01-30 16:13:22 +01:00
{% unless post_size == 0 %}
{% include thoughts.html %}
{% endunless %}
2019-01-29 21:27:18 +01:00
{% endunless %}
2019-01-25 19:53:35 +01:00
</div>
2019-01-25 18:49:24 +01:00
</div>
</div>
2019-01-25 17:35:18 +01:00
{% include footer.html %}