Sha256: 1900cb610df5ca917e57bbbd7579defe18af042b40aa74b46b9381e5943fe16d

Contents?: true

Size: 1.76 KB

Versions: 50

Compression:

Stored size: 1.76 KB

Contents

{% if include.item.project_data != nil and include.item.project_name != nil %}
  {% if include.item.slug == 'index' %}
    {% assign item_slug = include.item.id | split: "/" | reverse | slice: 1 | first %}
  {% else %}
    {% assign item_slug = include.item.id | split: "/" | reverse | first %}
  {% endif %}
  {% assign product_home_url = include.item.project_data.home_url | append: include.item_type | append: "/" | append: item_slug | append: "/" %}
{% else %}
  {% assign product_home_url = include.item.url | relative_url %}
{% endif %}

<a class="item {% if include.item.feature_with_priority != nil %}featured-item{% endif %}"
    href="{{ product_home_url }}" role="article">
  {% if include.item_type == 'software' and site.is_hub != true %}
    <div class="logo-container">
      {% include software-symbol.html item_id=include.item.id %}
    </div>
  {% endif %}

  <header>
    {% if include.item.project_data != nil and include.item.project_name != nil %}
      {% assign project_symbol_path = include.item.project_name | append: "/assets/symbol.svg" %}
      {% assign relative_symbol_path = "/projects/" | append: project_symbol_path %}
      <div class="parent-project">
        <div class="project-logo"><img src="{{ relative_symbol_path }}"></div>
        <h4 class="project-title">{{ include.item.project_data.title }}</h4>
      </div>
    {% endif %}
    <h3 class="title">{{ include.item.title }}</h3>
  </header>

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

  <footer class="meta">
    {% include tag-list.html tags=include.item.tags item_type=include.item_type %}

    {% if include.item.last_update %}
      <section class="last-update">
        Last update: {{ include.item.last_update | date: "%d/%m/%Y" }}
      </section>
    {% endif %}
  </footer>
</a>

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
jekyll-theme-open-project-2.1.14 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.13 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.12 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.11 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.10 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.9 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.8 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.7 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.6 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.5 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.4 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.3 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.1 _includes/software-card-hub.html
jekyll-theme-open-project-2.1.0 _includes/software-card-hub.html
jekyll-theme-open-project-2.0.22 _includes/software-card-hub.html
jekyll-theme-open-project-2.0.21 _includes/software-card-hub.html
jekyll-theme-open-project-2.0.20 _includes/software-card-hub.html
jekyll-theme-open-project-2.0.19 _includes/software-card-hub.html
jekyll-theme-open-project-2.0.18 _includes/software-card-hub.html
jekyll-theme-open-project-2.0.17 _includes/software-card-hub.html