templates/partials/services.html

17 lines · 526 bytes

 1{% import "data/services.html" as services %}
 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("https://", "") }}</span>
12      </a>
13    </li>
14    {% endfor %}
15  </ul>
16</div>
17{% endfor %}