templates/partials/services.html
17 lines · 546 bytes
1{% set services = load_data(path="data/services.toml") %}
2{% for group in services.groups %}
3<div class="svc-group">
4 <h3 class="sec-sub">{{ group.name }}</h3>
5 <ul class="svc-cards">
6 {% for item in group.items %}
7 <li>
8 <a class="svc-card" href="{{ item.url }}">
9 <span class="svc-name">{{ item.name }}</span>
10 <span class="svc-desc">{{ item.description }}</span>
11 <span class="svc-host">{{ item.url | replace(from="https://", to="") }}</span>
12 </a>
13 </li>
14 {% endfor %}
15 </ul>
16</div>
17{% endfor %}