2024-05-21 15:22:31 +02:00
|
|
|
<div class="devlogs">
|
|
|
|
<h2 class="devlog-category" id="{{ include.tag | slugify }}">{{ include.tag }}</h2>
|
|
|
|
<p>{{ include.description }}</p>
|
|
|
|
|
|
|
|
{% for post in site.posts %}
|
|
|
|
{% if post.tags contains include.tag %}
|
|
|
|
<div class="devlog">
|
2024-05-21 15:56:58 +02:00
|
|
|
{% if post.image %}
|
|
|
|
{% assign start = post.image | slice: 0, 4 %}
|
|
|
|
{% if start == "http" %}
|
|
|
|
{% assign url = post.image %}
|
|
|
|
{% else %}
|
|
|
|
{% assign url = post.url | append: post.image %}
|
|
|
|
{% endif %}
|
2024-05-21 16:17:55 +02:00
|
|
|
<img src="{{ url }}" class="devlog-image" width="100%" alt="Cover image for post {{ post.title }}">
|
2024-05-21 15:56:58 +02:00
|
|
|
{% endif %}
|
2024-05-21 15:22:31 +02:00
|
|
|
<h4 class="devlog-title">{{ post.title }}</h4>
|
2024-05-21 15:56:58 +02:00
|
|
|
<div class="text-muted">{{ post.date | date_to_string }}</div>
|
2024-05-21 15:22:31 +02:00
|
|
|
<div>
|
|
|
|
<a href="{{ post.url }}">Read this post</a> –
|
|
|
|
<a href="{{ post.itch }}">Read on itch</a> –
|
2024-05-21 15:56:58 +02:00
|
|
|
<a href="{{ post.steam }}">Read on Steam</a>
|
|
|
|
</div>
|
2024-05-21 15:22:31 +02:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|