Sha256: cf1636ba6b7dc2516c33c2fa09b1bcc94c2797cd93da5e4e099ea395bc80ff49
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
--- layout: default --- {% assign projects = site.projects | where_exp: "item", "item.home_url != nil" %} {% assign num_projects = projects | size %} {% if num_projects > 0 %} <section class="items"> {% include symbol.svg %} {% for project in projects %} {% assign symbol_path = project.path | split: "/" | slice: 0, 2 | join: "/" | append: "/_includes/symbol.svg" %} {% assign relative_symbol_path = "/" | append: symbol_path %} <a class="item {% if project.featured == true %}featured{% endif %}" href="{{ project.home_url }}" role="article"> <header> <div class="logo-container" role="presentation"> <div class="logo">{% include {{ relative_symbol_path }} %}</div> </div> <h3 class="title">{{ project.title }}</h3> </header> <p class="body"> {{ project.description }} </p> <footer class="meta"> {% assign num_tags = project.tags | size %} {% if num_tags > 0 %} <ul class="tags"> {% for tag in project.tags %} <li>{{ tag }}</li> {% endfor %} </ul> {% endif %} </footer> </a> {% endfor %} </section> {% else %} <p>No projects to display.</p> {% endif %}
Version data entries
3 entries across 3 versions & 1 rubygems