templates/partials/apps.html

14 lines · 674 bytes

 1{% set apps = get_section(path="apps/_index.md") %}
 2<ul class="app-rows">
 3  {% for page in apps.pages %}
 4  <li{% if page.extra.tint %} style="--tint: {{ page.extra.tint }}"{% endif %}>
 5    <a class="app-row" href="{{ page.permalink | safe }}">
 6      {% set icon_class = "app-icon app-icon-xs" %}{% include "partials/app-icon.html" %}
 7      <span class="app-row-name">{{ page.title }}</span>
 8      <span class="app-row-desc">{{ page.extra.tagline | default(value=page.description) }}</span>
 9      <span class="app-row-go" aria-hidden="true">&rarr;</span>
10    </a>
11  </li>
12  {% endfor %}
13</ul>
14<p class="dir-more"><a href="{{ apps.permalink | safe }}">all apps &rarr;</a></p>