Sha256: cd2cd953e6ae746a0f05fd7285fb85b8830a8e1936d259e206bd9f91e7ba5bdd

Contents?: true

Size: 1.31 KB

Versions: 23

Compression:

Stored size: 1.31 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 assets/symbol.svg %}

    {% for project in projects %}
      <a class="item {% if project.featured == true %}featured{% endif %}"
          href="{{ project.home_url }}"
          role="article">

        <header>
          <div class="logo-container" role="presentation">
            {% assign symbol_path = project.path | split: "/" | slice: 1, 1 | join: "/" | append: "/assets/symbol.svg" %}
            {% assign relative_symbol_path = "/projects/" | append: symbol_path %}
            <div class="logo"><img src="{{ 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

23 entries across 23 versions & 1 rubygems

Version Path
jekyll-theme-open-project-1.0.0.rc3 _layouts/project-index.html
jekyll-theme-open-project-1.0.0.rc2 _layouts/project-index.html
jekyll-theme-open-project-1.0.0.rc1 _layouts/project-index.html