miom.space/_includes/layouts/homepage.njk
Benjamin Yule Bädorf 1fd5ec8502
All checks were successful
continuous-integration/drone/push Build is passing
v2: improve design, add pages, delete old data
2024-02-23 17:13:52 +01:00

28 lines
600 B
Plaintext

{% extends 'layouts/default.njk' %}
{% block main %}
<main class="mi-main mi-cards">
<div class="mi-logo">
<img src="/img/logo.jpg" class="mi-logo--img" />
</div>
<div class="mi-tagline">
{{ tagline | md | safe }}
</div>
{% for card in cards %}
<a
class="mi-card"
href="{{ card.link }}"
>
<img
class="mi-card--background"
src="{{ card.image.url }}"
alt="{{ card.image.alt }}"
/>
<div class="mi-card--text">{{ card.text }}</div>
</a>
{% endfor %}
</main>
{% endblock %}