Sha256: cd2fc9c8f614c4d42fa7f4cee2f9cd12554c7ba2737796cb2a3a94dd20cf0fe5

Contents?: true

Size: 2 KB

Versions: 5

Compression:

Stored size: 2 KB

Contents

{% assign software = site.software | where_exp: "item", "item.repo_url != nil" %}
{% assign specs = site.specs | where_exp: "item", "item.source_url != nil" %}
{% assign posts = site.posts %}

{% assign num_software = software | size %}
{% assign num_specs = specs | size %}
{% assign num_posts = site.posts | size %}

<div class="underlay top-background" role="presentation">
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
    <polygon fill="white" points="0,0 100,0 100,60 0,100"/>
  </svg>

  {% if num_software > 0 %}
    <section class="software">
      <h2 class="title">Open Source Software</h2>

      <div class="items">
        {% for item in software %}
          <a class="item" href="{{ item.url }}" role="article">
            <div class="logo-container" role="presentation">
              {% include software-symbol.html item_id=item.id %}
            </div>

            <header>
              <h3 class="title">{{ item.title }}</h3>
            </header>

            <p class="body">
              {{ item.description }}
            </p>

            {% include tag-list.html tags=item.tags %}
          </a>
        {% endfor %}
      </div>
    </section>
  {% endif %}

  {% if num_posts > 0 %}
    <section class="featured-posts">
      <h2 class="title">From the Blog</h2>

      <div class="items" role="presentation">
        {% for item in posts %}
          {% include post-card.html post=item %}
        {% endfor %}
      </div>
    </section>
  {% endif %}
</div>

{% if num_specs > 0 %}
  <section class="specs">
    <h2 class="title">Open Specifications</h2>

    <div class="items">
      {% for item in specs %}
        <a class="item" href="{{ item.url }}" role="article">
          <header>
            <h3 class="title">{{ item.title }}</h3>
          </header>

          <p class="body">
            {{ item.description }}
          </p>

          {% include tag-list.html tags=item.tags %}
        </a>
      {% endfor %}
    </div>
  </section>
{% endif %}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-open-project-1.0.0.rc3 _includes/home-project.html
jekyll-theme-open-project-1.0.0.rc2 _includes/home-project.html
jekyll-theme-open-project-1.0.0.rc1 _includes/home-project.html
jekyll-theme-open-project-1.0.0.pre5 _includes/home-project.html
jekyll-theme-open-project-1.0.0.pre4 _includes/home-project.html