---
layout: layouts/home.njk
permalink: /index.html
---

<div class="margin-small">
	<h1>Welcome!</h1>
	<p>
		This blog is dedicated to game development. You can find hints, tutorials
		and recommendations to make game development easier!
	</p>
</div>

<div class="recent-posts-container">
	{% for post in collections.posts %}
	<div class="highlight-card">
		<a href="{{ post.url }}">
			<div class="highlight-card-header">
				<span class="content-type {{post.data.type}}"
					>{{post.data.type | capitalize }}</span
				>
				<span>{{ post.date | date }}</span>
			</div>
			<img src="{% generateThumbnail post.data.title %}" />
			<h2 class="highlight-card-title">{{post.data.title}}</h2>
			<p class="highlight-card-excerpt">{{ post.page.excerpt }}</p>
			<button href="{{ post.url }}" class="highlight-card-button">
				Read more
			</button>
		</a>
	</div>
	{% endfor %}
</div>
