---
layout: default
section: blog
---

{% if page.splash %}
  {% if page.splash contains 'http' %}
    {% capture url %}{{page.splash}}{% endcapture %}
  {% else %}
    {% capture url %}{{site.baseurl}}{{page.splash}}/{% endcapture %}
  {% endif %}

  <div class='col12 splash'>
    <img src='{{url}}' alt='' />
  </div>
{% endif %}

<div class='listing col6 pad4h margin3'>
  <div class='heading'>
    <h1>{{page.title}}</h1><span class='date'>{{page.date | date:"%b %d"}}</span>
  </div>

  <div class='prose'>
    {{content}}
  </div>
</div>

{% include rss-link.html %}

---
layout: default
section: blog
---

{% if page.splash %}
  {% if page.splash contains 'http' %}
    <!-- {% capture url %}{{page.splash}}{% endcapture %} -->
    <div class='col12 splash'>
      <img src='{{page.splash}}' alt='' />
    </div>
  <!-- {% else %}
    {% capture url %}{{site.baseurl}}{{page.splash}}/{% endcapture %} -->
  {% endif %}


{% endif %}

<div class='listing col6 pad4h margin3'>
  <div class='heading'>
    <h1>{{page.title}}</h1><span class='date'>{{page.date | date:"%b %d"}}</span>
  </div>

  <div class='prose'>
    {{content}}
  </div>
</div>

{% include rss-link.html %}

Remove splash if not set
Remove splash if not set
