blob: b850c68a8b540a8faa684c230f4fac1506c8723f [file] [log] [blame]
---
layout: default
---
<section class="site-section">
<div class="main-content">
{% if page.image %}
{% assign maybe_protocol = page.image | slice: 0, 4 %}
{% if maybe_protocol == 'http' %}
{% assign image_url = page.image %}
{% else %}
{% assign image_url = site.github.url | append: page.image %}
{% endif %}
<img class="main-content__image main-content__image--float-right"
src="{{ image_url }}"
alt="{{ page.title }}">
{% endif %}
<h1 class="main-content__title main-content__title--no-margin">{{ page.title }}</h1>
<div class="main-content__body-content">
{{ content }}
</div>
</div>
</section>