Sha256: 4056d50782899077024cb86972727701476f03f6f9932633da2e4a7b33f2702d
Contents?: true
Size: 1.68 KB
Versions: 23
Compression:
Stored size: 1.68 KB
Contents
{% if include.project_data != nil and include.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.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" href="{{ product_home_url }}" role="article"> {% if include.item_type == 'software' and site.is_hub != true %} <div role="presentation" class="logo-container"> {% include software-symbol.html item_id=include.item.id %} </div> {% endif %} <header> {% if include.project_data != nil and include.project_name != nil %} {% assign project_symbol_path = include.project_name | append: "/assets/symbol.svg" %} {% assign relative_symbol_path = "/projects/" | append: project_symbol_path %} <div class="parent-project" role="presentation"> <div class="project-logo" role="presentation"><img src="{{ relative_symbol_path }}"></div> <h4 class="project-title">{{ include.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 %} {% 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
23 entries across 23 versions & 1 rubygems