forked from bevyengine/bevy-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlearn.html
22 lines (22 loc) · 864 Bytes
/
learn.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "layouts/base.html" %}
{% block content %}
{% set learn_links = load_data(path="content/learn/links.toml") %}
<div class="padded-content item-grid item-grid--two-cols">
{% for link in learn_links.links %}
<a class="link-card" href="{{ link.url }}">
<div class="link-card__img-wrapper">
<img class="link-card__img"
src="{{ link.image }}"
alt="{{ link.image_alt }}"
width="180"
height="190" />
</div>
<div class="link-card__content">
<h2 class="link-card__title">{{ link.title }}</h2>
{% if link.subtitle %}<div class="link-card__subtitle">{{ link.subtitle }}</div>{% endif %}
<p class="link-card__description">{{ link.description }}</p>
</div>
</a>
{% endfor %}
</div>
{% endblock content %}