---
layout: default
---


{% for post in site.posts limit: 1 %}
<div class="jumbotron">
	<div class="container">
		<div class="col-sm-8	col-sm-offset-2">
		{% if post.featured-image %}
			<img src="{{post.featured-image}}"/>
		{% else %}
			<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
		{% endif %}
		</div>
	</div>
</div>

<div class="container">

	<div class="row">

		<div class="post-content col-sm-8 col-sm-offset-2">
		{% unless post.featured-image %}
		<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
		{% endunless %}
			{{ post.content }}
		</div>
	</div>
</div>
{% endfor %}

---
layout: default
---


{% for post in site.posts limit: 1 %}
<div class="jumbotron">
	<div class="container">
		<div class="col-sm-8	col-sm-offset-2">
		{% if post.featured-image %}
			<img src="{{post.featured-image}}"/>
		{% else %}
			<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
		{% endif %}
		</div>
	</div>
</div>

<div class="container">

	<div class="row">

		<div class="post-content col-sm-8 col-sm-offset-2">
		{% if post.featured-image %}
		<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
		{% endif %}
			{{ post.content }}
		</div>
	</div>
</div>
{% endfor %}

Fix error where post title was shown twice if there wasn't a featured-image in the post YAML
Fix error where post title was shown twice if there wasn't a featured-image in the post YAML
