added new layout and fonts

This commit is contained in:
Luca 2024-11-06 08:50:57 +01:00
parent 4d5e820b7c
commit 4e0017adc2
14 changed files with 409 additions and 41 deletions

View file

@ -3,6 +3,14 @@ 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">
@ -16,7 +24,9 @@ permalink: /index.html
<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 class="highlight-card-button">Read more</button>
<button href="{{ post.url }}" class="highlight-card-button">
Read more
</button>
</a>
</div>
{% endfor %}