templates/partials/apps.html

15 lines · 623 bytes

 1{% set apps = get_section(path="apps/_index.md") %}
 2<ul class="dir">
 3  {% for page in apps.pages %}
 4  <li class="dir-item dir-item-app">
 5    <a class="dir-row" href="{{ page.permalink | safe }}">
 6      <span class="dir-name">{{ page.title }}</span>
 7      <span class="dir-desc">{{ page.description }}</span>
 8    </a>
 9    <span class="dir-actions">
10      {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
11      {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }}</a>{% endif %}
12    </span>
13  </li>
14  {% endfor %}
15</ul>